Replace the ConnectionManagement middleware with new middleware, fixes #1749
Merge pull request #1750 from padrino/connection-pool-with-thin

Add ConnectionPoolWithConnection as middleware to application if ActiveRecord and thin are used, fixes #1749