Fixes #1212 Redirect after login issue

Set the current url to the form field.
Modified the code to make quick login specific
Adding script to set url.

Script to set current url to quick login form input field.
Reverting general.js to original.

Made changes in templates. Not required here ...
Merge pull request #1220 from demonate/patch-1

Fixes #1212 Redirect after login issue