[1149684] Repair only runs on one storage node
Fix regression resulting from work for Bug 1111064.  What were formerly
attached entities were now detached, so inline updates had no effect.
[BZ 1148186] More updates for the initial commit:
1) Only assign the pwd to RHQ_AGENT_HOME not already defined
2) Use a temp variable to extract pwd before dirname
Bug 1025812 - Changing of Queue configuration requires to set expiry queue

for JmsDestinationComponent we update configuration by loading it first,
comparing simple properties and filtering out equal values. What is left
should be the change made by user and only that piece is applied.
[BZ 1148186] One more update to the initial commit:

- Switch to use $_DOLLARZERO variable to correctly identify the location of the script.