Load Mapentity submodule templates dir
Typo
Fix regex for RAISE NOTICE (fixes #673)