[KARAF-2934]Role-based security for Shell/Console commands - backport to 2.x branch #1st commit