Implemented haxe.Timer instance for Java.
Merge pull request #2511 from andyli/java-timer

Implemented haxe.Timer instance for Java.