Removed commented out code in apitest.lua.
Added code for generating html output format.

This code, while messy at the moment, works and serves as a base for outputting to html.