XD-1953 Handle undeploy modules upon container shutdown

- When the container process is shutdown, the `Stream/JobModuleWatcher` in
ContainerRegistrar process `Stream/JobDeploymentsPath` node deleted event.
In this case, it triggers undeployment of all the corresponding modules.
But, by the time the undeployment happens the module context is already
closed.
- The fix checks if the module context is active when any of the
Module getComponent() is invoked.
- Fix JobModuleWatcher catch clause to catch `Exception` instead of `KeeperException`
 and subsequently check for Curator STARTED state
XD-1956: Moved deletion listener to be configured as a step listener instead of a job listener
Restore PubSub Producer Exchange Declaration

XD-1786 incorrectly removed the declaration of the exchange
on the producer side.

Although tap producers are not created before consumers, a
named 'topic:' would publish to a non-existent exchange
until a consumer is bound.

Spring AMQP now logs such publications as an ERROR.
Fix bower:install file resolver issue

- Thanks to suggestions from: https://github.com/bower/bower/pull/1403
XD-1959: NoNodeException after bouncing admin

Handling case where stream state is being calculated for
a stream with no stream modules deployed.
XD-1957 Remove footer from the adminUI