Fixed dashboard issue where scopes were not being obeyed.

The dashboard dsl had inconsistent scope names for the options hash in
the table objects. This caused scopes not to be obeyed when defined on
the tables.
Added paper_trail integration

Added paper_trail gem and setup model integeation for it. Version
history can be viewed from resource detail pages when paper_trail is
enabled for that model.