Add mongoid support

I wrote few lines for have mongoid support in paperclip, really needed. I have to change some little things for be able to do all tests already written for active_record with mongoid (added some if).