Add pct.Cmd to test agent restart.
Remove, don't send empty data files (PCT-764). Fix ws client and how data.Sender and log.Relay use it. Increase and improve testing in log, data, and agent. Add trash to basedir and data.Spooler.Reject (not used yet). Fix pct.WaitStartLock().
Add trash dir to basedir. Fix percona-agent/main.go.
Fix mock data client. Remove unused const from data.Spooler.
Fix mock ws client.
Merge pull request #87 from percona/pct-764-bad-data-files

PCT-764: Bad data file causes agent to stop sending but keep spooling data
Set the global pct/cmd.Factory, used for the Restart cmd.
PCT-863: Explain fails on multipart key_len
Merge branch 'release' into PCT-808_system_info

Conflicts:
	Godeps.json
	bin/percona-agent/main.go
PCT-808: use pct/cmd instead of pt/cmd