Metaforms and Metadata Editor Updates
1. Changed MD editor so "edit metadata" editor button is included by rails,
 instead of by jQueary.

2. Fixed bug in Metaforms so metadata can be deleted in the edit menu.

3. Added CanCan access control to Metaforms, now only the metaform creater
 can few or edit their metaform.

TODO: Fix access control so metaform works in a document.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Metaform Access Control Update
Added CanCan access control back into metaforms. Added a custom action for
 adding metadata to a document through a metaform.

Made updated CanCan's ability model to make access control with metaforms
 better.

Changed routing for adding a metaform to a document.

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