surface: add filter parameter to UIElement.waitforEvent
Merge branch 'event-refactor' into mho

Conflicts:
	modules/surface/base.sjs
Doc fix
Fix error when calling zip() on an empty sequence
set `require.main = module` when running a module from the `apollo` script

Fixes #12
forgot to commit jsonp test fixture
travis-tests: add $PWD to $PATH
Added builtin sjs:sys module which documents & exports the few items from builtin:apollo-sys that don't belong elsewhere
rename npm package -> stratifiedjs; add bower package.json
Expose current version string at runtime as sjs:sys.version
Turn sjs:sys into a real module, rather than a special-cased builtin
Added string.split/rsplit
url.resolve(): retain trailing slash
Initial attempt at a compiler kernel which emits statically-determinable require() calls, and a script to generate a dependency tree from a set of sources
Moved bundle -> modules/compile; added support for aliases & config file
add hub support to bundle