auto_ptr to scoped_ptr

replaced all instances of std::auto_ptr with boost::scoped_ptr