Added validation for module name

- Module name must be a valid PHP namespace.
Merge branch 'hotfix/34'

Adds validation for module names, to ensure no conflicts with existing modules.

Fixes #34