KEYCLOAK-331 Fixed NPE when user specifies EAR name instead of WAR in standalone.xml.  Also, fixed EAR deployment in general and added EAR example.