Refactor response preparation into prepare-response
Update to browserify v5

[closes #65]

N.B. the `expose` option does not currently work with v5
Release 4.0.0
Merge branch 'prepare-response'

Conflicts:
	lib/compile.js