First attempt at limiting key size

This commit adds a check on every write command, that will err the command if
any of the keys is longer than some arbitrary limit, if this is deemed not
terrible, I'll follow up with a commit that makes the max key size a
configurable parameter, and improve the err message.

When the param is configurable the check can be done only when configured as well.

@fbogsany @csfrancis 
FWIW, other code in redis uses similar variable initialization: https://github.com/antirez/redis/blob/c951c3ee5a12110f1c0c1270c45ab663c04e0f77/src/db.c#L815