New query cache feature implemented. 

This feature is still in alpha state and should not be activated in
production yet. 

Before production use it requires design review, extended testing and
tuning (TTL,...), this to make sure no unintended side effects exist.