Moved $json_dir into init
Merge branch 'master' into hotfix/json_directory
Added tests to ensure /etc/jmxtrans is created