Fixes script invocations via the APPCALL instruction. Adjust contract state field types accordingly.
* added persistence of assets and spentcoins. * contract params * bumped version