Handle non-ascii paths.

This updates the controller to handle non-ascii paths by storing their
URI encoded representation in the database.
Merge pull request #14 from alphagov/non-ascii-paths

Handle non-ascii paths.