Seperatetion of data nd metadata.
Viewing a document now just shows metadata by default. Added a link for
"show data". Viewing metadata only should be much faster.

Update to metaforms access control to allow access by an editor (needs
more testing).

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Document Data Updates
Made updates to document "show data".  Moved duplicate controler code to
helper.  Modified CanCan access control for "show data" page. Added
unit tests for new helper functions.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Document Notes Demo Prototype
Added a simple notes editor, mainly for demo purposes, to the document
show view.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Notes and Metadata Editor Updates
Updated document notes so when the note is shown it keeps its original
formating.
Bug fix for metadata editor: bug that was casuing existing text to be
deleted after a new row is added has been fixed.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>