Starting some work on doc for pebblejs
Simplify main.js and remove dead code, comments, etc
Switch doc to markdown format and flatdoc
Remove incorrect type
Merge branch 'feature-doc' into develop

Conflicts:
	src/js/main.js
	src/js/simply/simply.js