Merge pull request #4 from dbainbridge/master

Added Accelerate framework to fix Xcode project build.
Fixes for 10.9 warnings.
Fix some encoding errors when writing out layer names.
clang-sa fix