tomcat module addition

- changing grain structure to support the grains.present format
- find leaks function