Added a category on NSString

Added a category on NSString; moved all methods from YZStringHelper to
that category.
Improved code format