++logs and migrate context -> local

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
port context -> remote

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
remove context from shell

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
begin to migrate to '--output-base-path', shrink context

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
refactoring

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
move create_files_dirs more to up - it is similar to init()

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
++changes

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
rename out_path -> out_dir for consistency

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fallback to sys.argv[0] by default

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fix test cdist.test.config_install.ConfigInstallRunTestCase

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
:%s/self.out_path/self.base_path/g

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fix old bug / joining wrong args

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
out_path -> base_path

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
throw a better exception when environment variables are missing

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
refactor out_path -> base_path

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fix all tests -> back to normal

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>