Rework Facebook integration and more

* Rework Facebook integration by using the Facebook SDK

* Implement one user - one database and old version database migration

* Implement data migration between the guest database and the new user database

* Refactor Sync module, simplify the logic, and mode the codes into AppDelegate

* Consolidate iPhone and iPad storyboard into one universal storyboard

* Support iOS8