Readd spec guard for check constraint violations for older SQLite versions

This should fix the failures on Travis.
Bump version to 4.9.0