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