Refine tomcat

This pull request intend to fix logrotate problems at the tomcat RA.

The tomcat RA has log rotation mechanism similar to the jboss RA
and it is better to fix  the tomcat RA just like following patches. 

https://github.com/ClusterLabs/resource-agents/pull/327