Add a getApiKey() and requiresApiKey() method to the module template.

Also store the modules name.
Move the example module to docs/
Adds a test_module.py script for travis (and users) to validate basic functionality of a module with.