Convenience changes to getLocalizedURL
307 rather than 302 to prevent POST values from being thrown away.
Added localizeURL
Merge pull request #63 from drewjw81/fix-62

Fix issue 62 and add convenience function