Script integration

Scripts are now more thoroughly integrated into wallets, a few bugs were cleaned out of the tests and synchronization.

Tests still create files in places where files should not be created.

There are more scriptapi functions now