Added table of error code classes
Get correct row count
merge ScottDugas: Added table of error code classes

Merge pull request #1460 from ScottDugas/sql-layer/error-code-categories-table
https://github.com/FoundationDB/sql-layer/pull/1460