Migrate stats to SQlite

The lite approach to SQing.
Add limit to size of SQlite database

Will reduce it if it causes problems.

Also included full URLs in index.py alert.
And referred to location of raw SQlite database in stats.py