State change wait timeouts and missed notifications.

Added a timeout when waiting for a subsystem state change when performing an operation. The timeout is 60 seconds and
currently not configurable. Might be good to make it configurable in the future.

Fixed an issue where there was a small window allowing a missed state change notification while waiting.

git-svn-id: https://svn.apache.org/repos/asf/aries/trunk@1466517 13f79535-47bb-0310-9956-ffa450edef68