Fix RebuildLuceneDocsIndex to use new Markdown parser

Previously, it was attempting to use the already removed Markdown class.
Also some minor permission / indentation fixes.
Merge pull request #49 from ss23/master

Fix RebuildLuceneDocsIndex to use new Markdown parser