Fixed sample code in readme so it compiles

Task class doesn't compile because it's missing include MotionModel::ArrayModelAdapter. Brings the sample classes in the readme in sync with ModelWithAdapter sample class.