What an awful experience for you! I'm sorry that this has happened - the only thing I can think to say is that sometimes things work out for the best. You probably didn't want to keep working for that jerk anyway, but I know that being let go is certainly a difficult thing to go through.
I wish you luck in your new job search - I'll keep my fingers crossed that you find something that makes you really happy.
