unrelated to other fix, this adds the timestamp to the database on insert
Fix for stack trace and possible sql injection problems pointed out by #724
Merge pull request #590 from jiwalker-usgs/master

Fix for database search bug