Replaced some trailing uses of drupalgap.path with the new get and set functions.
Added null checker for drupalgap_field_info_instances() entity_type when a bundle name is present.