manage Glassfish installation and bug fixes

Now plugin can install glassfish to server and properlly manage specified types, without any steps required from user.

Plus, support for Glassfish custom resources