Add more functionality for the default agent

* tweaks a few things to make the base-agent more modular
* adds endpoint.lua from rackspace-monitoring-agent
* changes gyp slightly to push down the pkg_name into lua-space
Ohhhhh yeah some of the stuff we do in virgo is tricky.