Fixed build warnings and migrated tests from OCUnit to XCTest

* Fixed a bunch of format string warnings
* Added .DS_Store to gitignore
* Migrated all the unit tests to XCTest