add scripting functionality
better handling and error reporting of missing files
implement list and view triggers
fix error on first insert
simplify scripting api
Merge pull request #2 from venturegeeks/scripts

First scripts implementation