Plugin resource name fixed for REST API calls.

Change-Id: Ib23b7e1f081fbc30cdaee7167e0f718590075a92
Fixes: bug #1189627
Images REST API cleanup.

Change-Id: I869613d484614ae5eafcf66ff5929b2fc2836712