move sqlite stuff out of main lib/ and into contrib/