split directory creating code off of init

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
move types into conf/ dir

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
move save_cache into local

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
also remove obsolete save_cache function

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
fix unit tests for config_install

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
port test_missing_requirements to config_install unit test

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
cleanup tests and ... - 100% green

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