Allow nice codeblocks for README

This is an ugly hack, but that's because our markdown pipeline isn't that great.
Merge pull request #84 from pminten/codeblocks-for-readme

Allow nice codeblocks for README
Add detail type and self and to top links

The detail type makes it slightly easier to see what you're dealing with when
the "Function summary" header is out of sight. The # link makes it easier to
get a link to the function and the to top link will come in handy once the
sidebar goes away to get back to the main navigation section.
Add breadcrumbs

This changes the HTMLFormatter functions to take a state arg instead of a config
arg. The state is simply the config plus the list of modules that are generated.
This is necessary to not link to pages that don't have breadcrumbs.
Add jump to headers and submodule links
Remove that State hack again

Turns out that I needed to pass the whole module list to module_template anyhow
so the State thing was nothing but a superfluous nuisance.