expand path of json source
include version in appinfo
fix misguided versioning approach
support ``~`` in config paths
ensure var directory exists
doh!!!!