Fix average {response,waiting} time commands

Both commands where ignoring lines that had 0 response/waiting time.

Add tests for it.
Be sure to return a float value

Average times can always be partial numbers, ensure that always a
float value is returned.