Added code to create output and data directories if needed

In both the analysis and variables files, there was no code to create
a data or output folder if none existed. As those folders are needed
in order to output results or create the dataset, I needed code to
create those if need be.
Removed options on pandoc as it was put into YAML head
Updated TODO list