Add the setting SLUGIFY_ATTRIBUTE Refs: #197

This new setting allows slugs to be generated automatically from either the article title or basename.

I added documentation and I think I did it right, but I don't understand how to write the tests. Would somebody be able to give me a quick and dirty idea of what I should be testing for?