ISPN-2962 Fix thread leaks in the core test suite

Several tests do not shut down their Executors or fail to stop an AsyncStore leading to stray threads after the suite is run.

Please integrate in master.

JIRA: https://issues.jboss.org/browse/ISPN-2962