Paths filter

I wanted to put my site on maintenance mode, but still have access to the admin interface. This pull request makes this possible.

Please note that I update Gemfile.lock, which looks like should have been updated on master, but wasn't. Is this correct?