Add a `BuildsetProperties` cache and seed from `addBuildset`

This diff adds a cache around the buildset properties table
accessed from `getBuildsetProperties` and seeds it from `addBuildset`,
to avoid extra DB accesses immediately after adding a buildset.