Updated code comment docs and generated HTML API reference from docs

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