[HtmlElement] validBranch, moved the logic in validClass, validDefineHimself and validCircularReferences
[HtmlElement] validBranch, moved the logic in validClass, validDefineHimself and validCircularReferences

natepage/easy-html-element