Remove unnecessary jshint inline configuration

The camelcase option is configured for the whole project in .jshintrc,
so these declarations are superfluous.
Add a test for deduplicating slugs

This is the only part of the codebase which wasn't getting covered by
the test suite.