A quick helper to use middleman as middleware (useful for api deployment scenarios)