Previously, this assumed 'id' was the primary key column as inherited from the kamailio code
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, use lowercase tags, remove styling, and use new htmlviewfunctions functions
Use mymodule parameter for module definition.
Based on code from acf-kamailio