Merge pull request #245 from mzry1992/training-system

Finish training user management functions and add training contest database tools
Add training contest list