Various improvements to interactive example test script.
Merge pull request #995 from ContinuumIO/examples_test_script

Various improvements to example widget testing script