Add CSS class to xprofile fields indicating whether they are required.

The new class names are 'required-field' and 'optional-field'.

Fixes #5741

Props WCUADD

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