Added a script for autotesting.

Autotesting will watch for changes and test them immediately.