Fix IndentationError and auto-format detect files
Restructure main docs page and introduction page
Add docs page for detect sub-package
Add install instructions
Add command line tools docs page
Rename all scripts according to a uniform naming convention.

See scripts/README.rst for a description.