Move repository's new button to documents gem
Provide id to documents/new view

Related to #417