Simplified UTF-8 encoding procedure for X11 window title.

- Instead of first converting to a wide string and converting that to
  UTF-8, now convert to UTF-8 directly using sf::Utf32::toUtf8.
- Modify OS X sf::String to NSString helper to work for big-endian
  architectures (like OS X 10.5 on PowerPC) as well.