Enable appstats to track datastore usage

Enables looking at the datastore usage per-request to identify bottlenecks and ways we can improve performance.
Merge pull request #249 from curtisullerich/appstats

Enable appstats to track datastore usage