group_vars_dir.py: add caching

also, add parameter to support vault code in 1.5