Major refactor of the entire infrastructure.

  We now have a table class with modules for the major elements of a
  table that are mixed into to the class. The test suite has been
  dramatically improved with the exception of the activerecord tests. We
  have yet to think of a nice way to tests this feature.