Current stable version of the RMBTControlServer

Hi,

I've been working on some changes and bugfixes. Please accept my pull request and use my code in the production release.

Changes mainly address /opentests, /usage, ImageExport and /history

Best regards,
Thomas