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
i'll fix this up more