add compatibility for puppet 3
add HOME env for provider execute.
correct brew typo
Merge pull request #3 from adamdowner/master

Add support for puppet3 (maintain compatibility)