fix checking if parameter is dict
create check_dict()
use check_dict
use check_dict, issue #34
create check_list()
use check_list
test if process_* functions throw exception if parameter is not a dictionary, issue #34
implement process_start_stage(), issue #34
fix typo