PUT and GET one tests for PoC API.

* added test for GET on a single ID
* added test for PUT on an existing resource
* fixed LocalResourceController to accept optional ID in new resource

Change-Id: I487d21882b93e48cc38b87076a7c3d754a54fe84