[CSTL-779] Move ngResource based services into a new module 'cstl-restapi' and refactor index page module.