Substr

Added substr to btrstring. It has more guards around it then std::string
does and it doesn't throw exceptions.