Fix HTTP PUT on subresource.

Added test and fixed GET and PUT to specific subresource item endpoint.