nth time is the charm or what, huh?

Yet another set of ResourceLoader fixes. Some components of SocialProfile
(like UserGifts etc. stuff listed here) have their own loader files; these
can use dirname( __FILE__ ) / __DIR__, but the modules registered on
SocialProfile.php need to use dirname( __FILE__ ) .
'/ComponentDirectoryName'. Confusing or what?

Change-Id: I12b6a37b902c05fa5f1eaffabef66e7d0cf36f32