Add contribution instructions to README.md.
Convert to Ruby instance variables in templates.

Convert to Ruby instance variables in templates to stop deprecation
warnings.