Improve frame support

* Implement frame attributes
* Pass frame attributes to HTML using data- attributes
* Require closing tags for frames