bump sqlite to 3.7.17.
yep, freebsd still needs this fix
Merge remote-tracking branch 'origin/topic/bernhard/sqlite-update'

* origin/topic/bernhard/sqlite-update:
  yep, freebsd still needs this fix
  bump sqlite to 3.7.17.

Closes #1037.