added getuserstate and setuserstate to devicefunctionsprovider
save and request states in main and searchingmatch activity
Merge branch 'master' of https://github.com/schreon/matchmaking