Custom Profile Updates

Adds the ability to have a custom profile field show on the memberlist.  Mostly a follow on to the removal of the built in IM items, this allows new ones to be defined an shown.

Some minor refract of the function to move the querys to subs

Should fix the use of the superglobals at some point