Redo templates with docs and whatnot

This totally breaks compatibility with rebar2, and maybe it shouldn't
have.