Backporting 3cf4135fcfc45cd1f95 (bugz 4626: set normal priority shares for cpu and memory)
Fix for an invalid type cast when getting a 'public' tag.
Merge pull request #58 from binod33/2013.07

Backporting fixes from 2014.05