Added compatibility methods to pelix.utilities

- to_bytes: converts to str (Python 2) or bytes (Python 3)
- to_unicode: converts to unicode (Python 2) or str (Python 3)
- to_str: converts to the str type of the interpreter