Don't generate tree names longer than the max supported.

Fixes #741
Fix header
merge nathanlws: Clamp tree name length to max supported

Merge pull request #1227 from nathanlws/sql-layer/clamp-tree-name-length
https://github.com/FoundationDB/sql-layer/pull/1227