Slave acttivity fix

This is a new version of the already started request from gitorious:

https://gitorious.org/orocos-toolchain/rtt/commit/da42c1c6336bb69bafbc5ac59a630ba07656e7cc
https://gitorious.org/orocos-toolchain/rtt/merge_requests/25