Sp4.sc1.resource test

Added resource and resource tests, changed dispatcher for resources and changed elastic_search to elasticsearch in rebar.config.