Fix: Xcode 5 recommended settings

* Select architectures based on deployment target
* Use current architecture for Debug build
* Enable recommended warnings
Remove executable flags from source files
Merge pull request #169 from nanoant/patch/fix-xcode5-warnings

Patch/fix xcode5 warnings