Clarified phpDoc.
Beautified source code.
Added getUserProfile method.
Added missing SearchResultObject implementation.