Moved collapse toggle to panel-heading div

- instead of using anchored title
Remove button/form improvements

- Use a button, no text (text on hover)
- Use the "btn-danger" class to indicate it's destructive
- Use the "btn-sm" class on all buttons
- Use the "panel-danger" class for the remove form
  - Override the styles for panel-danger to make the border thicker
- Put form buttons pull-right
- Make "No" button "Cancel", and make it a link (with classes "btn" and
  "btn-sm").
- Mark "Yes" button with "btn-danger"
Show "remove" button only on hover

- and only when "remove" form is not showing.
Show "remove" button when inside panel

- not just when inside heading
Use icon, not text, to describe adapter

- Used "glyphicon-book"; should find a DB icon at some point
Button/collapse interactions

- Ensured that clicking a button will not toggle collapse state of the adapter
Created initial "collapse" directives

- Adds collapse, collapse-header, and collapse-body tags
  - clicking on collapse-header will toggle state of collapse
- Uses bootstrap classes, but not bootstrap JS
- Removes need for jQuery in order to toggle classes
Collapse and button toggles are working

- Rewrote collapse/header/body to use element events instead of using ng
  directives in templates. This led to better stability, and the code is more
  self-documenting.
- Button display toggling is now handled by the collapse panel itself; buttons
  add themselves to the collapse panel, and the collapse panel adds events to
  itself to trigger the toggling.
- TODO: additional, opt-in criteria for button display (to allow, for instance,
  switching between "Cancel" and "Edit" buttons).
Prevent button clicks from propagating to header

- Added element.on('click') event to collapse-button, which in turn calls
  event.stopPropagation.
Arbitrary criteria for determining button display

- Import criteria as a property of the button.
- Panel uses criteria to determine whether or not to display button.
- Issue: unsure how to connect the panel scoped property to nested elements.
Ability to conditionally toggle display of elements

- Can now conditionally toggle display of elements based on a combination of
  values passed in the collapse attribute, and criteria provided by the elements
  to be toggled.
- TODO need to test the logic for when to display buttons better; currently,
  "delete" button is still displaying when the deletion form is present.
Conditional criteria for showing buttons

- Parse "criteria" attribute of button, and pass to collapse.addButton
- Use criteria to show/hide buttons
Fully working!

- Shows/hides buttons based on mouseover of the panel
- Clicking on buttons will conditionally display content based on criteria
  provided and conditional flags in panel.
- Buttons will show/hide based on criteria and conditional flags in panel.
Renamed ag-flag, ag-show

- to collapse-flag, collapse-show, to indicate relationship with parent
Integrate ag-collapse into db-adapters view

- Integrated ag-collapse into db-adapters view. All is working, except that the
  tables are not hiding when "edit" is clicked.
Fixed conditional show logic

- Should allow N watchers for any given flag!
Do not implement panel-body in collapse-body directive

- in order to allow tables and list groups
"test" files for collapse functionality

- These were what I used to test the collapse functionality in isolation. Should
  be done as proper tests at some point.
Break DB adapters into many partials

- Simpler to read and maintain
Fixed forms

- All imputs were missing "form-control" class; updated
- Moved "create" form buttons to bottom right
- Fixed "cancel" action for "create" form