Add fcmdr_strv_find().

Convenience function returns the index of a string in a string array.
Add fcmdr_profile_applies_to_user().

Given a user ID, determines whether a FCmdrProfile applies to the user
by examining its FCmdrProfileApplies structure.
Add fcmdr_compare_uints().

Pretty self-explanatory.
Implement fcmdr_service_list_profiles_for_user() for real.

Uses fcmdr_profile_applies_to_user() to filter available profiles,
then orders them according to their applicability score.