fix test for whether input types support selection
remove dead code
support for building standalone
let derby-parsing be optional in standalone
fix so that event emitter state does not bleed between pages
Merge remote-tracking branch 'upstream/master'

Conflicts:
	lib/files.js