Lint fixes + make PuppetLint ignore gitmodules

* In Rakefile, parse .gitmodules and exclude each submodule path from linting.
* Misc. lint fixes to make PuppetLint happy again.

Change-Id: Ie2a376a0c9b44e48badfceeb3a0bcca9a1eb67f4