Fix the pkg.testling.html feature

It was failing due to
 * not serving static files
 * exiting getHTML too early
 * wrong number of ready() calls
 * when using custom html - the "__testling_output" div might not exist
1.5.2