* snakemakelib/config.py: Refactor module. Make use of global statement to access global configuration variable in routines.
* test/test_config.py: add tests for sml_config. add init_sml_config to clear global init variable.