Limit generated headlines to h6

Currently it is possible to generate invalid headlines:

![](http://i5.minus.com/ib0n9OLQ92h5Dy.png)

This is the simplest fix for it. Headlines with to many `#` will now be restricted to a `h6` (it mimics PHP Markdown in this case).