[#22] Return a failure if the module already exists

- Previously, it only looked at the module path, not whether the module
  also existed in configuration. This change also looks at the
  application configuration.
Merge branch 'hotfix/22'

Close #31
Fixes #22