Remove use of Permalinkable and slugs.

The user of this app might have a different way of using slugs.
Merge branch 'slugs-optional'