Frodo compatibility, debug mode

- basic compatibility with API of XBMC Frodo (did not care about backwards compatibility)
- added debugging method and use it in the request (logging can be enabled with setDebug(true))
Allow setting debug in constructor to debug early
Merge pull request #2 from amenk/frodo-compat-misc

Frodo compatibility, debug mode