Katello/katello — pull request #221 by bbuckingham (2012-06-18 21:02:57+00:00)
Title: system groups - provide user oppty to delete the systems in a group when deleting the group

The purpose of this pull request is to allow the user the ability to delete all systems associated with a system group when they delete the actual group, in the UI.

Basic scenario:
- user navigates to a system group that contains 1 or more systems
- user clicks "Remove System Group"
- user is prompted to confirm that they want to delete the group
- if user indicates 'yes', the user is prompted to see if they would also like to delete the systems in the group (with a warning)...
- if user clicks 'yes', the systems and group are destroyed
- if user clicks 'no', delete only the group', only the group is destroyed
- if user clicks 'cancel', no changes occur

NOTE: user will only be given the opportunity to delete systems, if they have the correct permissions

In order to support the above, there were a couple of small refactors included:
1. moved the system group headers to a partial _tupane_header.html.haml
2. updated the existing customConfirm to include additional 'settings' that the user can pass in. This was to allow for things such as, adding a warning msg, supporting optional cancel button, allow caller to customize button text...etc. In order to support this all, current usage was updated.