Made code example intentation consistent at 4 spaces.
Corrected typo in contact_form example variable name.
Various documentation amendments and grammar tweaks.