Adding a function to determine what port users should use, and change reporting based on install vs update
Merge branch 'release-0.11' of github.com:learningequality/ka-lite into 999

Conflicts:
	kalite/templates/central/homepage.html
Fix for #1069 - allow more videos to be downloaded after a successful download.
Positive top margin on video points-container to fix #1088.
Merge pull request #1093 from rtibbles/video_fixes

Fixes for #1069 and #1088 - allow repeated video downloads and prevent points from being shown.
Merge pull request #1084 from bcipolli/999

Make update script call into setup (which detects it should do an update)
Merge remote-tracking branch 'refs/remotes/upstream/release-0.11' into 853

Conflicts:
	kalite/templates/central/homepage.html