Doc style tweaks from JuliaLang/julia#2123

Signed-off-by: Patrick O'Leary <patrick.oleary@gmail.com>
Added function to find templates directory