make code Java 7 compatible
Merge pull request #6 from slintes/java7

Make code Java 7 compatible
Make the datetime conversion Java 7 compatible. It loses the nanosecond accuracy though..
Update README on Java 7 support.