Rewrite get_latest_answers + Fix #36

Fix issue #36 + *readable* variables names

added helper functions:
* check_log_types
* and is_<log_activity>_log(entry)
Merge pull request #42 from aaronwinter/patch-5

Rewrite get_latest_answers + Fix #36