cache the home folder of a User

Saves some sql queries

https://github.com/owncloud/core/pull/6318/files?w=1 for a cleaner comparison

cc @PVince81 @karlitschek @DeepDiver1975