Update config.py

Add config_dir option in order to change location of minion_id when calling get_id().

This is my first touch of this codebase, so feel free to tweak this. Maybe it makes more sense to have an id_file directly and then generate its location otherwise.