Add header_action method for panels
Use Capybara to better test panel rendering
Merge pull request #2723 from shekibobo/2552-panel-header-actions

Add header_action method for panels