Add browserify stub files
Refactor misc. script structure aspects
Refactor commonjs usage
Split test framework sample files
Fix framework order for requirejs/chai combo