Added HTML Tidy config file
Tidied up code

Closes
https://github.com/sysapps/runtime/issues/12
Merge pull request #60 from marcoscaceres/gh-pages

Tidied up code. Added config for HTML5 tidy.