cleanup of api route handlers

I removed the tutorial handlers as they're going into gh-pages. The handler for /examples now uses the same apiWrap func to include CORS related headers allowing cross-domain loading of patterns.