Validate templates and ruby files

This patch adds validation for ruby files and templates while also
providing an extremely minimal set of spec tests.
Merge pull request #2 from ghoneycutt/validate_more

Validate templates and ruby files