Cleaning up PHP
Markdown class from https://github.com/michelf/php-markdown
Now PHP version looks about the same as Node.js counterpart