Add the 'title' variable to collection permalinks
Change :title to :name
Add Document#slug
Merge pull request #2799 from kansaichris/add-title-to-collection-permalinks