Fixed multithreading issue #65 ...

by adding critical section via ``RLock`` around ``cssutils`` calls in ``merge_styles`` function.

Also added a unit test. It fails when run on original ``merge_styles``, passes on the commited one.