Metadata table sorting alpha.
Metadata table can now be sorted by drag and droping rows. This needs
more testing before integration.
This commit is the last commint before Upgrading Ubuntu to 14.04.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Metadata/sorting updates.

Metadata/sorting updates.
Metadata table CSS updated (in document) to include word wraping.
Ascending/decending sort code commented out (for now).
Gem file updated to include Ruby 2.0.0.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Merge branch 'master'
Document updates

1. Put the ability to change the owner of a project back into Hatch.
2. Documents with duplicate field names will now fail and show alert in
the failed job.
3. Documents with just headers, which fail to parse, will post an alert
in the failed job.
Project permission updates

Updates the way project permissions apply to a collection.
CSV parings update

Changes the "header only" error check in the CSV parsing function to
avoid a posisble bug.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Jobs and Documents Updates

Jobs Updates
1. Edited jobs datatable so it will filter based on username (email).
2. "First" and "last" pagination buttons added to jobs and Document
  data.  Changed pagination type from Bootstrap to full_numbers in the
  Javascript file, and by editing the CSS.

Documents Updates
1. Updated the CSV filter so duplicate "empty" header fields will be
  ignored and not trigger the duplicate fields error (this will
  prevent a LOT of file editing).  Basicly added "skip blanks" to
  headers.

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

Fixed some editing issues casued by jQuery sorting.  Sorting was
causeing problems with copy/cut/pasting.

Seperated editing from sorting.

Made some changes to document jQuery code.  Moved some of the code from
JS to rails.

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

Merged metaform branch into integration.

Updates include: metadata/sorting, first/last pagination, CSV error
detection, change project owner.

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

Fixes an error in the project controller when trying to change the owner
of a project.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Merge branch 'master' of https://github.com/cblair/portal

Merged meta-forms into Master.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>
Merged metaforms into master

After merge:
1. Fixed a bug where a docs collection id would be set to "nil" if an
editor filtered a document they did not own.
2. Validate button only shown if user has proper access.
3. JS code for first/last pagination commented out.  Now using data-
tables.