rewrote syncing code, numerous other changes

sync-related
rewrote syncing code: object-oriented and get json data
change sync interval from 30 to 15 minutes
removed syncDay from ratings controller

reorganized code
moved syncing code to lib
moved Player class to lib
renamed stats.rake to sync.rake

misc
organized code, moved Player class and sycning code to lib
added verification functions: verify_var() and verify_hash()
redid logging to use LOG_LVL env var
added sync:sync_day() rake task