Support REST server scenario

This pull makes possible to deploy the mock rest server and an openchange connected to it for development purposes