Gradle 2.0 support

code cleanup

temporary drop support for haxelib