Added delete method. Fixed bug with extra parameter
Added tests for id resolution
Fixed a bug in id resolution service.

The service always failed when no extra parameter was specified, unless
the empty string was provided. In future this should be fixed on the
server.