Cleanup of module detection in client.brain

This should also make it possible to have packages as client modules (making jasperproject/jasper-client#153 obsolete)
Fixed wrong module import path in client.brain
Merge pull request #166 from Holzhaus/improved-module-detection

Cleanup of module detection in client.brain