remove debugging lines
add documentation for using https://github.com/opencrowbar/template
update doc to generate github index

readme index
Improve docs TOC handling

The doc system has an implicit assumption that each director in the
docs tree has a corresponding '.md' file. This change creates
a placeholder entry when the .md file is missing so the TOC tree
doesn't break.
merge upstream github index generation changes

Conflicts:
	rails/app/models/doc.rb