Add std::basic_string allocator support to StringRef, StringBuffer and relatives (#441)

* - added basic_string allocator support to BasicStringRef, BasicCStringRef, BasicWriter::str, StringBuffer and BasicStringWriter

* - removed templated str() and to_string() function
- code style fixes
2 files changed