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.
Resolve the ambiguity of the pip requirements by merging and sorting 'requirements-latest.pip' and 'requirements.pip':

* If a pkg appeared more than once, and both had version numbers, took later version

* If a pkg appeared more than once, and one had a version number but the other didn't, took the one with the specific number

* Also removed development-only and otherwise obsoleted pkgs
Move the pkgs for development only to the 'requirements-dev.pip' file, and removed obsolete pkgs (we're going to recommend uwsgi over gunicorn).
Removed all references to nose, since was implemented incorrectly in the tests, and also prevented db model migration from occurring correctly.
Merge pull request #1322 from SEL-Columbia/improve_export

Improve export
Merge branch 'master' of https://github.com/SEL-Columbia/formhub into slim_dedicated_server
Switch to postgres for the relational store now, and thus strongly discourage mysql as an option
And for postgres, psycopg2 should come from the apt pkg, not pip
Started to cleanup the preset settings mess, and will add example in the install docs.
Added the first version of the installation doc (this will be maintained in source control, not as a wiki, going forward)
Finalized cleanup of the presets, with better examples and explanations
Edited the celeryd scripts to work for fhuser in the simplified (non-virtualenv) structure
Temporarily removed reference to ProcessTimedOut from modilabs.utils.subprocess_timeout (can always re-add it later, though it doesn't seem necessary in the context of logger_tools.py)
Updated the default_settings.py file to account for debug mode, and ALLOWED_HOSTS in non-debug mode