Adds redirect functionality for non-GET requests

Non GET requests will be redirected to the request
referer after a successful sign in. GET requests
will continue to be redirected to the requested path.
Implement changes from feedback
Implement feedback
Merge pull request #9 from dockyard/lr-successful-sign-in-redirect-for-non-get-request

Adds redirect functionality for non-GET requests
Reverted array identities
Merge pull request #12 from dockyard/bc-revert-array

Reverted array identities
Updated rails version