Fixed correct routing when not running in root path
Making use of some jQuery chaining
Added mysql errormessage on fail
Allows logging in/register with enter button

This change allows form submit when clicking the enter button as normal
in web sites. It also enables the mouse cursor being displayed as a
hand/pointer over the register and cancel link which is standard. Also
makes some use of jQuery chaining.
Merge pull request #69 from IntoMethod/rememberme-fix

Remember me fix.
Merge pull request #66 from IntoMethod/pullreq

Route bugfix, jQuery optimisations and allows enter button for login
Merge remote-tracking branch 'upstream/master'

Conflicts:
	default.settings.php