Added feature to archive URLs to a local DB

Also includes new config parameters to toggle logging to the console.
Merge branch 'refs/heads/store-history'