Fixed bug related to detached threads
Updated documentation for apache module
Fixed issue with Rest Controller (Rest controller cannot be a singleton bean)