Fixed closing element tabs within conditionals

Restored some horrible-looking code to handle tab display.  Apparently
we're doing conditional logic while constructing HTML elements.

TODO: Convert to HAML, especially this stuff.
Fixed graph display

The graph display for subject articles now works.  It requires 'neato'
to be installed, which is part of the GraphViz package.
Rectified HTML in article page
Remove inter-article links section unless they exist
Rectified HTML in graph page
Rectified HTML in graph page again
Conditionalized omeka migrations

Somehow the production database got omeka tables installed outside
of the normal migration path.  This conditionalizes creation of those
tables based on whether or not the tables exist so that migrations
of production dumps will pass.
Added encoding warning message to encoding migration.

While we can't automatically convert from latin-1 to utf-8 in mysql,
we can warn the sysadmin of which pages need review.
Partial fix to category expansion.
Fixed pagination for multi-work read view.
Fixed various HTML bugs

Removed empty P elements and XML headers from XML transform
Located rogue end-DIV-tag
Merge pull request #65 from benwbrum/virginia_bugs

Bug fixes to stable Rails 4.1 branch
Fixed resizable textarea to sane defaults
Log error and redirect user if IA is down
Logging transcripts plus more bugfixes
Added readme file formerly masked by gitignore
Restoring current_user class methods.
Restoring current_user class methods.
Rewrote update_all for Rails 4 syntax
Removed debugger call