Merge ioerror's TODO list in.
Add Travis config (a continuous build system)
Added close command to CLI
add hardcoded receive-hook-command

The command to be executed should be configurable. Perhaps other command hooks
should be added. This feels out of place in network.go.