Add a package cache and distfile cache to FreeNAS.

The defaults are set in build/nano_env, but they can
be overridden on the command line with FREENAS_PKGCACHE
and FREENAS_DISTCACHE

env FREENAS_DISTCACHE="" build/do_build.sh
will disable the distcache.