Added support for --domaindir to manage domains and resources outside of glassfish/domains/. Fixes #5