Update dependencies to fix TypeError in node versions > 0.11.3.

Updating browserify to the latest version fixes the error noted in #115.  browserify-middleware is added to replace the middleware functionality removed from later versions of browserify.