Refactor namespace and version setup.
Add a test to verify namespace/version-setup.
Require namespace/version class where needed.
Merge pull request #201 from marcjansen/version

Refactor namespace and version setup