Major change to API server implementation (library.)

Implemented go-restful in favour of go-json-rest because of its
built-in swagger doc generation support.