[AspNet] Improved HTML implicit closing logic

Previous broad logic of implicit HTML element closing is
replaced with specific rules from HTML5 specification.
Warning generated for the same have been suppressed. New
unit tests included.