fixes #166
Improve exception
Merge pull request #196 from Masadow/master

Conflicts:
	beluga/core/module/ModuleImpl.hx