Improved logging of errors, better messages

Previously errors on the screen didn't give much info. Now they are
customized. Additionally printing out locals to the log now when dying.
Added dist. script to make portable test suites
Typo, had driver.restart not driver.child.restart
Log file wasn't chosen correctly + capitalization