misc: Update naming conventions and add rule for sectioning off code.

Private/internal variables and functions to a module now have to be prefixed
with an underscore. In addition, a rule has been added that a contributor
should try to section off relevant grouped parts of their code, preferably
with a header.