SQLiteDatabase: Added index for the main table

The index results in extremely fast look up times when querying rows with specific paths and datestamps.