DBusTest: Add test for window interface methods
Added tests for:
int sessionCount()
QStringList sessionList()
int currentSession()
void setCurrentSession(int sessionId)
int newSession()
int newSession(const QString &profile)
int newSession(const QString &profile, const QString &directory)
Not tested:
QString defaultProfile()
QStringList profileList()
void nextSession()
void prevSession()
void moveSessionLeft()
void moveSessionRight()
void setTabWidthToText(bool)
Also: I've fixed some minor bugs in the test and changed DBus functions list order (see commits).