[#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.

Fixes #22