Generate list of xprofile field types that support options for Field Admin, rather than hardcoding

This change allows custom field types to support options, while using the core
admin panel UI.

Fixes #5691

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8494 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Declare XProfileAdmin js variable as a global to placate jshint

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8495 cdf35c40-ae34-48e0-9cc9-0c9da1808c22