Renaming "cache_dir" to "tmp_dir"

This way we can also store PIDs and other items in it
Better config pre-processing and dir creation

Do all configuration item pre-processing in one place (the _setup
section) and properly deal with expanding paths for all dir strings and
dir lists.  Auto-create any missing directories.  Remove custom
processing from cloudlet.py in favor of DRY.