fix erb instance variable warnings

Eg.:
    Warning: Variable access via 'operatingsystem' is deprecated. Use
    '@operatingsystem' instead.

Done by visual inspection so it's possible that I may have missed a few
warnings in templates I'm not actively using.
Merge pull request #18 from jhoblitt/fix_erb_warnings

fix erb instance variable warnings