Imported ICE JNIRegistry into Git
Updated code to be able to compile under Java 1.7. Code formatting to make it easier to read.