ISPN-4691 Custom remote events should ship the originating event type

* Effectively, this is a JIRA to align with what's in documentation:
Custom events should carry information on the type of the original
event, whether it's created, modified or removed.
ISPN-4711 Remoted commands to a dead master node can be re-forwarded to a valid backend
ISPN-4712 Mutable SearchFactory needs to be passed new types exclusively
ISPN-4713 Reject incoming Query RPCs on stopped and being-shutdown caches
ISPN-4714 Improve logging to trace IndexManager's lock promotion phases
ISPN-4715 Resolve race condition in Lock promotion of IndexManager
ISPN-4704 Cluster Listener REPL may not notify properly based on owner

* Fixed issue when using initial state that non owner wasn't notified
ISPN-4690 Upgrade to Scala 2.11.2

* Minor compilation adjutsments were required, including: switching
to new scala.concurrent classes added in 2.10, extend Serializable
trait instead of annotation, and use refactored Java conversion
methods.
* Scala XML module has been separated, so REST server needs a new
dependency, which it has also been added to Infinispan server as
a new module.