Added linux support and modernized module

I added linux support by ironing out some of the path issues related to having both a system-installed pkg-config and a homebrew-installed pkg-config. I also modernized the layout of the module's files (as per puppet-template), and wrote a couple of tests for the OSX and Debian cases (that now pass).