Add web UI file CRUD tests.

The file modification operations (create, edit and delete) are undertested, and this has already lead me to not notice bugs during refactoring at: https://github.com/gitlabhq/gitlabhq/pull/7856

This is probably the case because the ability to edit repositories on tests was only recently added.
Prefer single-quoted strings when you don't need string interpolation or special symbols.