Merge pull request #66 from PierreR/master

Cleanup PuppetResource
Re-arrange source so that optparse related functions are next to each
other.
Rename Commandline into Options (to mimic tutorial)
Use familiar tutorial idiom for optparse (replacing stringChunk)