all tests except large library ones and depends tests passing

- return the browserify instance from shim method to allow fluent interface
- cleaning up tests, removing debub/non-debug options
shim-depends tests pass
cleanup
towards fixing remaining tests