First cut on mapping exceptions to mysql error messages/error codes/sql states:
+ Introduce an error mapper, which takes an ErrorInfo block and converts it into either a
  MyErrorResponse (for the wire) or a SQLException (for a server db connection).
+ Add a universe of dve specific errors.  These are mildly typed insofar as you can
  declare them to be of type tuples (i.e. <String,String>) which allows for compile
  time checking.
+ Add a universe of mysql specific errors.  These are also mildly typed, and by default
  are tied to a single dve error, although there is the ability to use a single mysql
  specific error to handle multiple dve specific errors.
+ Stop wrapping everything in a PEException prior to exiting the execution engine.  In
  particular, for SchemaExceptions, propogate the naked exception so we can get at the
  ErrorInfo.
+ Assert on mysql error formatters, SchemaExceptions, etc. in the tests.
Arrange for filtering to continue to work for the replication slave.  Use the ErrorInfo on
the SchemaException to pick out the pertinent errors and construct the appropriate name for lookup.
Aside from the merge, other changes:
+ Arrange for the global variables upgrade to gracefully handle
  variables that require catalog access for conversion.  Also handle
  old style constraint names.
+ Arrange for the upgrade to be able to emit informational messages.
+ Add a variable which appends the location of a thrown exception to the message.

Merge branch 'master' into kanzaros_eh

Conflicts:
	tesora-dve-core/src/test/java/com/tesora/dve/dbc/DBCTest.java
	tesora-dve-core/src/test/java/com/tesora/dve/sql/SQLVariableTest.java
Various variable related fixes:
+ for the mysql test suite, boolean values should be upper cased, i.e. YES/NO instead of yes/no
+ make sure that alter dve set ... for a session variable sets the persistent value and broadcasts
  to the global map so that next connections get the new default session value.
+ make query_cache_type & friends be emulated but not passthrough to avoid problems on startup for now.
Fix PE-1584:
+ When a user txn is started, arrange to determine whether it is an XA txn or not.
  Then, correctly report whether the connection is under an XA txn when checking validity
  of DDL.  Fixes innodb_bug53674.
+ Make some more variables emulated but not passthrough per Duk's suggestion
+ Moved the error mapper into common in preparation for handling more of
  the exit points in the netty stack.
Updated JDBC to 5.1.31
Added ExtendedPacketTester which facilitates extended packet mirror
testing by handling necessary variable and setting updates.
Ignore testPE1559() if payload resource not available.
Created a special exception class to represent the case of missing large
resource file. Catching this particular type should help us avoid
skipping a test for a wrong reason.
Exception naming fix.
MySQL Test Suite - 'YES' -> 'Yes' in Collations InfoSchema table.
Add error mapping for unknown system variable.  Arrange for location tracing.
Add second exception hierarchy for checked mapped exceptions.  Rearrange the location
computation slightly.  Add known vars for have_dynamic_loading (default false for now),
version_compile_os (default "debian-linux-gnu") in order to help along mts.  Add the
ability for PEDDL to not load the named template if the template is preloaded.
Merge branch 'master' into kanzaros_eh
Changed the type returned from information_schema.collations for
collation id to bigint(11) - compatible with native and required by
JDBC.
Merge branch 'master' of git@github.com:Tesora/tesora-dve-pub.git
PE-1585 - Added 'have_geometry' variable.
Removed commented-out test code.
We probably do not want to validate version specific things like the
values of SQL_MODE. We just push the unrecognized values down and let
the native do it.
Arrange for the projection metadata for show variables where ... to be correct when
we execute via temp table.  Make sure that missing rhs var refs propagate their error info.
Parametrized JDBC version as 'jdbc.mysql.version' so that it can be
overridden at the compile time by '-Djdbc.mysql.version=?'. Defaults to
5.1.32 (currently latest).
Arrange for set global to push down to the p sites for emulated passthrough variables.
Merge branch 'kanzaros_eh'