Restore "Make GWCLifeCycleHandler behave correctly on application shutdown."

This reverts commit 87ecb035dd45e5a56d051f704c1af47421b46bbf and fixes
the test errors by adding depends-on="gwcFacade" to the GWCLifeCycleHandler
bean definition.
Merge branch 'master' of git://github.com/geoserver/geoserver