Changed the #minimal method in URL formatter to strip off anchors and query parameters - except for the sid parameter used by eFiction sites.
Added spec tests to cover eFiction URLs; tweaked #minimal so that it returns an encoded string if it is passed one, rather than just the raw URL.
Using Addressable to handle URIs so things don't break when a URL has an underscore.
Adding Gemfile.lock for Addressable
Merge pull request #1527 from ariana-paris/3574-eFiction-query-parameter

Broaden the URL-mangling to get a match in /redirect