Updated FMDB: Use sqlite3_busy_timeout to handle busy/locked errors

Also increased busy timeout to 5 seconds.