[libsocialcache] Avoid recreating delegates on model updates.
[libsocialcache] Cache prepared queries.
Merge pull request #16 from adenexter/master

Improve model performance