Added \Profis\Utils\HTML::buildTagAttributes() static method.
Modified \Profis\Utils\HTML::tag() method to use buildTagAttributes().