Enhancing nocache helper

* Adding support for DONOTCACHEOBJECT
* Adding support for DONOTCACHEDB
Merge pull request #4591 from alexbain/do-not-cache

Enhancing nocache helper