[1131494] CLI command to remove storage node gives transaction error
Needed to establish a new transactional context.

(cherry picked from commit dcd5159681c770e62619ec3490d87fe72dc38dd0)
Signed-off-by: Jay Shaughnessy <jshaughn@redhat.com>
Merge branch 'release/jon3.3.x' of github.com:rhq-project/rhq into release/jon3.3.x
[1138328] globally uncaught exception on storage metrics admin page
Although I was still unable to reproduce this bug I did find a couple of
places where we needed to shore things up, that perhaps contributed.
- fix getResourceIdFromStorageNode utility to throw the correct exceptions,
  this solves issues where caller catch definitions were not catching.
- when uninventorying a Storage Node Resource we did not pro-actively unlink
  it from the StorageNode entity.  We did the unlink in the async work but that
  that left the bad resource linked until async job ran or until
  it was re-linked to a newly imported SN resource.  Now unlinked up front
  (which is unfortunate as it adds another db query per batch).

(cherry picked from commit 58023b78baae102abdefa6d222a9a9d73dd69f0c)
Signed-off-by: Jay Shaughnessy <jshaughn@redhat.com>