generate perfdata for errors and drops

Note that this changes the state file format again.
Merge branch 'errorstats'

Conflicts:
	check_iftraffic_nrpe.py