mapfishapp - removes redefinitions of modules (fixes #667)