Implemented the hook system for the Request class.

Any class can now register a callback for any hook in the Request class.

Updated README.