UTs refactor

- Easier update resource API;
- Easier show resources API;
- User context used by utility methods;
- General cleanup
- PRS rules on security groups verification framework;

Closes-Bug: 1397721
Closes-Bug: 1403256
Closes-Bug: 1403258

Change-Id: Ife80c21ae61fe432130c7c5265c8b79a2b693563
Merge "UTs refactor"