allow XHR on api server
Add test for JSONAPI
Create abstract base class for a HttpServer
Make APIServer and ThemeServer inherit from BaseHttpServer