login now automatically redirects to the originally requested url if appropriate :)
code cleanup
added getUrl(), getUrlScheme(), getUrlAuthority(), getRelativeUrl(), getUrlPath() and getUrlQuery() methods to WebRequest
changed sample app to use WebRequest::getUrl() for redirecting after login
added tests for WebRequest URL methods
added option parameter to *Routing::gen(). it's an array. 'relative' => false generates a full URL, 'separator' => '&' won't create htmlentities etc
fixed a routing issue that completely prevented generation with use_routing=false from working, would you mind testing your stuff next time kthx
fixed calls to WebRequest::getUrlScheme and getUrlAuthority