Some updates for 3.8

First commit replaces the deprecated DBus import with the new stuff (been there since 3.4 I guess, but I'm only testing against 3.8).

Second commit implements a feature I've been using for months now, but never found the time to actually implement it in a configurable way and send a pull request. So here it is.

Last commit is just there to comfort my eyes. Most likely I didn't catch all missing semicolons, we're lucky spidermonkey is forgiving ;)


Let me know what you think.