Fix all deprecated warnings in examples.

002 and 004 - (new ReactorFactory) is deprecated
005 - Amp\reactor is deprecated
006 - typo