added the new get_field API
uncommented get_field many_to_many warning and fixed a small issue related to casting
field_names should return a set
Merge branch 'new_get_field_api' into soc2014_meta_refactor_upgrade_flags_get_field