updated naming: middleware module now as-middleware.js in root, put server_middleware_spec.js back to middleware_spec.js