fix failing CompareDecimalToLongTest
Don't allocate buffer for unsigned and date types when inverted
Fix a bug in which maxKey maynot be long enough to hold the longest key.
Merge pull request #146 from tonyhuang/salting

Fix a bug in which maxKey maynot be long enough to hold the longest key.
Merge branch 'master' of github.com:forcedotcom/phoenix
optimize ltrim,rtrim,trim to not allocate buffers, update StringUtil methods to use column modifier
fix b/w compat when SortOrder slot is missing
Merge branch 'master', remote branch 'upstream/master'