Fixed warnings.
Fixed warnings.
Added support of ttl parameter for keys.
Merge pull request #150 from madevgeny/master

Fixed warnings produced by gcc 4.7.2.