[REVIEW] Remove ShadowEventInspector

Changes:
* removed nasty ShadowRepositoryEventInspector that put load
  on repo registry, instead made shadows itself "listen" and
  act on their own.
* made shadow repository "cache" it's master instance,
  instead using registry to look it up per every getMasterRepo
  invocation.

These changes above does not disrupt how shadows work at all,
but have a huge benefit that Registry is not used anymore
during event processing shadows are interested in. Registry
is used only once, if master is set using it's ID (that
happens only during boot and/or shadow creation).