Reinstate a version of bp_xprofile_get_field_types() from the backbone+admin branch to make the backbone-only branch work