Updated scopes.rs to use StrBuf.

This change fixes any areas wherein a string's "push_char" or "push_string" methods are used.  As of rust 0.11-pre str is no longer used for this.  std::strbuf::StrBuf replaces it.