Updated code comment docs and generated HTML API reference from docs

I used JSDoc (runs on node and is available on npm) to generate the docs off the code comments (Java Doc Style). Located under /doc/osm unless there is a better suggestion