Fix #966 by raising an errorin case of nested modules. After Gavin's
confirmation, this also the answer for closing #192
Use a dedicated visitor to avoid mixing concerns
Merge pull request #967 from ceylon/checkForSubmodules

Check for submodules