Improved readme markdown

Some improvements, including:

* Change bold titles to h2 titles
* Changed all link tags to markdown links
* Fixed some links to match new files (in dev branch)
* Added links to examples
* Highlight example code as javascript