Major refactor, cleaned up a lot of code. Still WIP.
Prettified the code a bit.
Added initial version of Push driver.
Fixes.
Added endpoints.
Added simpler version Console driver from lib/agent.
Push driver from lib/agent.
Moved command parser to lib/agent, so it can be used by other modules.
Providers/reports cleanup.
Tabs to spaces in logger.
Handle responses in endpoints, control-panel.
Triggers now working. Added network and battery.
Fixes for triggers.
Moved lib/agent2 to lib/agent.
Removed lib/agent2.
Updated default config.
Set to running before so PID gets cleared on error.
Fixed reports.get && keys.verify.
Fixed driver unload event.
No need to handle error when booting.