added unit tests for testing event manager identifiers for controller created via RestControllerFactory
added unit tests for testing event manager identifiers for resource created via RestControllerFactory
resource event manager is not passed to rest controller
RestParamListener is binded only on RestController
removed wrong test, this situation cannot occure, RestParametersListener can be binded only for RestController instance
added unit tests for attachShared and detachShared for RestParametersListener
fix for detaching listener