move as much installation logic to python as possible.
migrate from print/sys.exit to stdout/CommandError. Get database path programmatically. Configure permissions for apache in apache config script.
migrate from print/sys.exit to stdout/CommandError. Get database path programmatically. Configure permissions for apache in apache config script. Make noinput / non-interactive option.
Merge branch 'install_via_python' of github.com:bcipolli/ka-lite into install_via_python
fixing misspelling.
fixing bug in setting the admin password.
small changes for self code-review
fixing daemon bug, small bugs from testing
Merge branch 'develop' of github.com:learningequality/ka-lite into install_via_python

Conflicts:
	kalite/utils/general.py
updating script to work in Windows (thanks @rtibbles); making platform-specific utility file to centralize platform-based logic.
Merge branch 'release-0.10' of git://github.com/learningequality/ka-lite into install_via_python

Conflicts:
	install.bat
	kalite/utils/general.py
surprising bugs need fixing--I did test..\! Made change to 'system' downstream, fixed up here first.
Merge branch 'release-0.10' of github.com:learningequality/ka-lite into release-0.10.1
Merge branch 'release-0.10.1' of github.com:learningequality/ka-lite into install_via_python
Merge branch 'release-0.10' of github.com:learningequality/ka-lite into install_via_python
self code-review based changes for clarity / cleanliness
making script robust to windows (no chmod), adding config for port, removing double-slashes
Merge branch 'release-0.10' of github.com:learningequality/ka-lite into install_via_python

Conflicts:
	kalite/management/commands/zip_kalite.py
Merge pull request #556 from bcipolli/install_via_python

IDOC: Install scripts via python
@ruimalheiro, this can be a base for your GUI'd up Python-based installer.  See also upgrade_via_install, which extends this script (#598)