Adding to appstorm the registerElement function from https://github.com/WebReflection/document-register-element
Adding model clone.
Adding unit test for new clone function.