Extended `module` functionality. Fixes #837

Modules now have the functionality of Marionette.extend. You may also pass a custom class to be instantiated as the Module when adding a new Module to the Application.