Adding 'hook()' to 'Base' prototype, created private 'client.khxr()' which returns an instance of 'KXMLHttpRequest' which is now returned from 'client.request()' to fix #40

Fixing docblocks
Merge pull request #42 from avoidwork/XHREvents

Refactoring XHR requests