Added periodic timer to ping server
Ping server with last impression
Send device infos to server
Updated test case to test change of user attribute
Fixed user attributes bug
Added buttons to demo application
Merge branch 'master' of github.com:b123400/retain-ios