Renamed created fields to createdAt fields.

Otherwise there are conflicts between template created callback and data
field.
Not needed anymore.
Added migrations. Fixes #291
Merge branch 'new-peerdb' into search-cleanup2
Added migration for renaming created to createdAt.
Updated to new PeerDB version.
Merge branch 'new-peerdb' into search-cleanup2