Clean up statMonitor so it doesn't hold odd references to the input itself.
Fix shut down.
Replace with <> form instead of removing unfound vars.
Attempt to find matches in fields.
Merge branch 'dev' into features/lua-sandbox
Clean up the sandbox for integration with heka-build