Fixed a php warning related to getModuleDir and created a modman file to make deployments easier. 

Explanation in the commit comments.