Support mongoid projects
fix parsing of mongoid field declarations by using eval instead of regex
downcase the primitive class name just to be safe