Making the pg_replication check executable + minor touchups

such that `$PGUSER` is used instead of `PGUSER` and presence of `psql`
in `$PATH` is enforced.
Systemd service monitoring module

Does the same thing as the smf module, but for systems running systemd
add /opt/local/bin so we find the correct node on smartos
Merge pull request #12 from neophenix/master

add /opt/local/bin so we find the correct node on smartos
Change Path Structure To Work On Windows

Rather than hardcoding "/" characters for file paths, use Javascript
"path" library to make it work across platforms.
Additional Support For Windows

Added some additional support for Windows: Added check for errors coming
back from node.js process spawning, added a check to ignore .conf files,
updated regular expression to match "\" as well as "/".
Set Matching Regular Expression Based On Platform

Change regular expression to match either "/" or "\" based on
the platform.
Merge pull request #13 from pamaddox/master

Set Matching Regular Expression Based On Platform
Don't Try To Execute JSON Files

Nad was trying to execute JSON files; changed the code to ignore these,
along with conf files.
Don't Use .json Files When Scanning Modules

Previous commit only removed .json files from index... remove them
from list of executable files when running in normal mode as well.
Don't Try To Execute JSON Files

Nad was trying to execute JSON files; changed the code to ignore these,
along with conf files.
Merge pull request #14 from pamaddox/master

Don't Execute JSON Files
Added WMI Plugin

Added plugin to run on Windows to collect WMI data and return
it.
Merge pull request #15 from pamaddox/master

Added WMI Plugin
Merge pull request #11 from modcloth-labs/postgresql-pg-replication-touchup

Making the pg_replication check executable + minor touchups