Add web UI file CRUD tests.
Created by: cirosantilli
This PR adds the first file modification operations (create, edit and delete).
They were currently 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.