use bonecp for db pool management

+ update EhCache provider for hibernate (the previous one has been deprecated for a while now).