Handle Invalid Percent Encoding Requests

Rails Engine that renders 400 error whenever a request's percent-encoding is malformed.

This happens notably a lot for the chinese EasouSpider.

See http://stackoverflow.com/q/24648206/311657