Add support for user home in cache directory name

Make it possible to provide the following cache directory name
in .buckconfig file:

  dir = ~/.gerritcodereview/buck-cache

This allows to share the same Buck cache directory for multiple
source trees.