Generalize app and iapi scripts
Merge branch 'master' of github.com:whoshuu/dev
Result processor unit tests