Raise error when creating a new page and there is already one with the same name and dir
Right now, if you create a page with the name bar
and creates another one with the same name, gollum raises and error. But, if you create a page named foo/bar
and then you try to create another one with the same name gollum doesn't complain and somehow it overwrites the original one.
Edited by Francisco Javier López (ex-Gitlab)