refactoring resource pool, making it possible to plug in custom implementation
Merge branch 'master' of git://github.com/geoserver/geoserver