Fixes #11 The generator can create controllers

Refactored tests to avoid code duplication.
Added the ability to strip multiple suffixes.
Added some coverage for 'module.js' and 'format.js'