Avoid empty div when button group is empty

Avoid empty div when none of back, reset and delete buttons are shown.
Merge pull request #818 from Sophist-UK/fix_empty_div_in_form_bootstrap_tab

Avoid empty div when button group is empty