Customized the module and component according to Jomsocial plugin

Added friend feature . Admin setting page now will change dynamically
according to whether jomsocial is installed or not.