SocialProfile: ResourceLoader & RequestContext love.

Huge refactoring that should introduce no negative functional changes.

Swapped sajax_* calls to jQuery.(get|post) as per bug #53119.

Change-Id: I93e7e67afd0bc36018ade0611e0840b01d515060