Fixes bug with missing environment variables in REST tier
Fixes logging in test framework
Merge branch 'key-row-sharding' of https://git-wip-us.apache.org/repos/asf/incubator-usergrid into key-row-sharding