Localise $_ in all callback functions

AnyEvent needs $_ to be unchanged; the easiest way to ensure
this is to localise it at the head of all callback functions.
Version bump to 0.002

Since "local $_" was added; it's a slight change (relaxation) to the
interface contract.