Fixes filesystem errors
Previously, the calls to have grunt create new output and lib directories were being executed before the grunt tasks to clean those directories, which lead to problems.
Merge branch 'master' of github.com:secdec/doc-md