XD-839: Add close() to parent contexts on shutdown

This overlaps with what Ilaya did on https://github.com/spring-projects/spring-xd/pull/279 but I guess it is the more elegant solution regarding the hsqldb bean (and there may be other beans that need to be disposed of as well)