[#118] make rake_task_defined? work in the face of extraneous output

Extraneous should only ever occur if people either have a Rakefile that produces output or are using the user-env-compile labs feature and their app produces output upon environment load.