modifed Properties/pom.xml to have consistent handling of Direct profile

* added same flag logic to direct profile activation 
* hide stmp.agent.config.template.xml