Initial submission of support for yamltodb --revert option.

 * docs/yamltodb.rst: Document new option.
 * pyrseas/database.py (Database.diff_map): If revert option selected,
   swap the top level database objects.
 * pyrseas/dbobject/column.py (Column.diff_map): Check that statistics
   attribute exists before determining what SQL to generate.
 * pyrseas/dbobject/schema.py (SchemaDict.diff_map): Add special case
   for pg_catalog schema.
 * pyrseas/testutils.py (InputMapToSqlTestCase.to_sql): Add revert
   argument and pass it to config_options.
 * pyrseas/yamltodb.py: Add --revert option.
 * tests/dbobject/test_schema.py (SchemaUndoSqlTestCase): New test
   group to verify basic undo processing.
Second submission of support for yamltodb --revert (sequences).

 * pyrseas/dbobject/table.py (seq_max_value, seq_min_value): New
   functions to abstract MAX/MIN value logic.  (Sequence.{create,
   diff_map): Use new functions.
 * tests/dbobject/test_sequence.py: New test group.
Fix mapping of table with embedded period and associated sequence. Fixes #79.

 * pyrseas/dbobject/__init__.py (split_schema_obj): If double quotes
   present, remove them first and then split on a quoted period, else
   split on period.
 * tests/dbobject/test_table.py: Add test to verify correct mapping.
Fix mapping of table with embedded period and associated sequence. Fixes #79.

 * pyrseas/dbobject/__init__.py (split_schema_obj): If double quotes
   present, remove them first and then split on a quoted period, else
   split on period.
 * tests/dbobject/test_table.py: Add test to verify correct mapping.
Partial reversion of 11 Oct 2013 change 3c96d69d. Fixes #80.
Merge branch 'r0.7'
Sort static data by primary key columns or default order. Fixes #80.

 Based on 27 Jan email to pyrseas-general from Kim Bisgaard,
 editorialized by me.

 * pyrseas/dbobject/table.py (Table.data_export): If table has primary
   key, create order_by list using key columns, else use defined order
   of columns.  Use new sql_copy_to to copy data out.
 * pyrseas/lib/dbconn.py (DbConnection.sql_copy_to): New method using
   copy_expert to copy to a file using SQL COPY.
 * tests/dbobject/test_static.py: Add test to verify primary key sorting.
Yamltodb should quote mixed case constraint names. Fixes #83.

 * pyrseas/dbobject/constraint.py (Constraint.drop,
   CheckConstraint.add, ForeignKey.add): Use quote_id around
   constraint name.
Merge branch 'r0.7'
Use quote_id on column name in Column.diff_map.  Fixes #85.
Merge branch 'r0.7'
Replace pyrseas.org by pyrseas.projects.pgfoundry.org.
Merge branch 'r0.7'
Update tox.ini Python3 environments to 3.3.
Merge branch 'r0.7'
Do not alter an existing extension's owner since it is not valid.

Add a no_owner kwarg to  DbObject.diff_map, such that when its
value is True it ignores owner comparison, and generation of an
alter statement.

Refs: pyrseas/Pyrseas#88
Merge branch 'r0.7'.  Fixes #88.
Support mapping of indexes on materialized views. Fixes #82.
Rewrite queries for language extensions that aren't in pg_pltemplate. Fix #84.
Merge branch 'r0.7'