Updated syntax, spelling

Added proper Markdown markup, fixed a spelling error or two. Removed unnecessary white space in PHP syntax.
Merge pull request #15 from Xanza/patch-2

Updated syntax, spelling