Mangle stacktrace to exclude mocha and browserify frames

Also make source filesnames relative to cwd.