Document slugs

[Pivotal Tracker](https://www.pivotaltracker.com/story/show/65858684)

* Update to document slugs to fix bug (document is shown with the wrong parent project)

**Note**: Slug uniqueness is still determined over the entire document model, it is not possible to change this using `friendly_id`