Refactor / simplify generation of HTML pages from HAML

[#67850594]
Use Lab dependencies from the Lab Framework page

[#67850594]