Save Master Password and Allow JMS restype ConnectionFactory

Added switch "--savemasterpassword" to the create-domain command. Using class create-domain after including the base glassfish class causes the create-domain to error stating to include the switch.

jmsresource with restype of javax.jms.ConnectionFactory was not in the list of valid restypes.

Updated the test cases for create-domain and added a test for the ConnectionFactory restype.