Add the 'title' variable to collection permalinks

It would be very helpful to have a `:title` attribute exposed for documents as well as pages.

@parkr Does this seem reasonable to you?