Horizontal rules

* added more test cases for `<hr />`,
* added new method `addHorizontalRule()`,
* removed unused lines of code,
* finished implementation so all tests are green.