NarUtil: fix java.home detection for Java7 on OS X
NarUtil: fix java.home detection for Java7 on OS X

Starting with Java7, OS X is no longer inconsistent with every other OS:
it now appends "/jre" to the java.home system property as normal. So the
previous logic -- using the parent directory unless the OS is OS X -- is
no longer completely sound. A more robust strategy is to explicitly look
for the "/jre" suffix and strip it if present, regardless of the OS.

maven-nar/nar-maven-plugin,Zetten/nar-maven-plugin,Zetten/nar-maven-plugin,manu4linux/nar-maven-plugin,markjohndoyle/nar-maven-plugin,dugilos/nar-maven-plugin,Moosemorals/nar-maven-plugin,Oneplus/nar-maven-plugin,muzare/nar-maven-plugin,diyessi/nar-maven-plugin,muzare/nar-maven-plugin,dmakarov/nar-maven-plugin,eyalg1972/nar-maven-plugin,dmakarov/nar-maven-plugin,eyalg1972/nar-maven-plugin,manu4linux/nar-maven-plugin,dmakarov/nar-maven-plugin,dmakarov/nar-maven-plugin,revolsys/nar-maven-plugin,Moosemorals/nar-maven-plugin,Zetten/nar-maven-plugin,dugilos/nar-maven-plugin,markjohndoyle/nar-maven-plugin,Oneplus/nar-maven-plugin,Zetten/nar-maven-plugin,manu4linux/nar-maven-plugin,heathn/nar-maven-plugin,heathn/nar-maven-plugin,revolsys/nar-maven-plugin,Zetten/nar-maven-plugin,markjohndoyle/nar-maven-plugin,heathn/nar-maven-plugin,manu4linux/nar-maven-plugin,muzare/nar-maven-plugin,revolsys/nar-maven-plugin,dmakarov/nar-maven-plugin,markjohndoyle/nar-maven-plugin,dugilos/nar-maven-plugin,eyalg1972/nar-maven-plugin,markBowman/nar-maven-plugin,diyessi/nar-maven-plugin,eyalg1972/nar-maven-plugin,diyessi/nar-maven-plugin,maven-nar/nar-maven-plugin,markjohndoyle/nar-maven-plugin,diyessi/nar-maven-plugin,markBowman/nar-maven-plugin,Oneplus/nar-maven-plugin,maven-nar/nar-maven-plugin,maven-nar/nar-maven-plugin,markBowman/nar-maven-plugin,Moosemorals/nar-maven-plugin,muzare/nar-maven-plugin,dugilos/nar-maven-plugin,Moosemorals/nar-maven-plugin,muzare/nar-maven-plugin,dugilos/nar-maven-plugin,Oneplus/nar-maven-plugin,markBowman/nar-maven-plugin,revolsys/nar-maven-plugin,revolsys/nar-maven-plugin,manu4linux/nar-maven-plugin,maven-nar/nar-maven-plugin,diyessi/nar-maven-plugin,eyalg1972/nar-maven-plugin,heathn/nar-maven-plugin,heathn/nar-maven-plugin,Oneplus/nar-maven-plugin,Moosemorals/nar-maven-plugin,markBowman/nar-maven-plugin