Support config.templates.linenums

This option allows to show line numbers on source code.
The option is the same as used in https://github.com/terryweiss/docstrap
Merge pull request #13 from vmeurisse/linenums

Support config.templates.linenums