upgrade to glassfish 3.1.2.2 and fix glassfish pkg & updatetool path problem 

upgrade version from 3.1.2 to 3.1.2.2 
install .org.opensolaris,pkg under libexec, so you can use pkg & updatetool