Fix NPE when unboxing primitive wrappers

Silly Java.
Fix incorrect in-bounds check
Merge remote-tracking branch 'upstream/master'

Conflicts:
	stanhebben/minetweaker/mods/te/ThermalExpansionUtil.java
Merge pull request #7 from copygirl/master

Fix incorrect in-bounds check