Spring shutdown listener

If you use Ektorp in a Spring web application, when the application context shuts down, the container will have a memory leak because Ektorp does not shutdown.

I've created a simple class which lets you easily shutdown Ektorp when the application context shuts down. We have used this extensively to allow hot deployments in Tomcat without memory leaks.