Added savemasterpassword switch

Create domain fails unless the savemasterpassword switch is set when
creating the domain.
Allow Connection Factory for jmsresource

javax.jms.ConnectionFactory should be a valid resource type
Merge branch 'feature/merge-pr#37' into develop