Fixes data export for headless zones.
Fixes linting.
Fixes data export on distributed server.
Merge branch 'nalanda-rct3' of github.com:learningequality/ka-lite into nalanda-rct3
Merge branch 'nalanda-rct3' into develop-all-the-things