some updates to use mysqli instead of mysql
Merge branch 'master' of https://github.com/icpc-live/autoanalyst