NR-57 : Basic REST server components for handling gateway

Updated unit tests.
Merge branch 'devel' of dev.sourcefabric.org:ally-py into devel