HIPCMatrix Module : added a build.xml and module.template.xml files to facilitate build

Modified build.xml to be able to handle modules with a resources subfolder