Re #329 Normalizing database queries for the User object.
Merge branch 'master' of github.com:europeana/corelib