Added topics_docs, make_sure_path_exists functions #2

Converted existing lda_topicsdocs.py script into a new topics_docs
function. Added make_sure_path_exists function (used by topics_docs
function). Also, added some commenting/formatting generally.