Clean up and refactor dict_iter functions in skll.data to be iterator classes. Also add some debug logging.