Fix for Issue #174
Retreived savedRequest from spring security and parse language out of the url.
Added another fix where if we cannot get the language from the spring security then we can use the referer.
Merge pull request #175 from ianwallen/Fix_Issue_174

Fix for Issue #174