Added sync functionality for contests (except corresponding code in Result.java)
Changed sync functionality: all data are treated equally