Updated project settings to those recommended by Xcode 5
Allow turning off logs and only log non-errors in debug mode

Also fixed warnings