added some js logging of data
quick fix for fetching count on every next/prev click - still performs request on first record view, client-side after that
fixed typo
removed refs to curPage
Merge pull request #1320 from SEL-Columbia/1317_count

1317 count
Used Q objects in an 'OR' query for the Export.exports_outdated() class method, cleaned up the logic, and added annotations
Instead of querying the Export table *twice* in export_tools.should_create_new_export(), use the new definition of Export.exports_outdated(), even though that too is really ugly: Export.exports_outdated() should *not* be a classmethod of Export, but sticking to incremental changes for now.
Merge pull request #1322 from SEL-Columbia/improve_export

Improve export
Merge branch 'master' of github.com:SEL-Columbia/formhub