profiles: add cleanup listener

This is to work around potential leaks in Tomcat.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Merge branch 'profiling' of github.com:killbill/killbill into profiling