Made tags setter be able to handle both String and Array + Mongoid 3 changes

I've changed `tags=` method so it accepts a String or an Array. This in practice for Rails as often times you may have an array of checkboxes for example from which you want to set the field value.

This fork is based on the @lgs fork which is upgraded for Mongoid 3 support.