Compatibility with java 6

This is a pull request that makes the RTF Parser Kit compatible with java 6.

The only diffferences are the Diamond Operator and in the JUnit tests the try-with-resources that I've adapted.