Rest api changes: splitting rest into rest-api and rest-server to facilitate implementation of rest clients
Rest api changes: adding a simple example rest client (using resteasy)