Mode 2181 - Added support for SNS to the REST service

The support was added by supporting JSON arrays for children (in addition to the current object format).
The rest service tests were changed to use Apache HTTP client which meant that some previously disabled tests (for the DELETE method) were re-enabled.