activerecord: return connections to the pool

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
version: bump to 1.0.17

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>