unix: fix warnings about dollar
ignore: ignore Xcode project and workspace files
build: add m4 for feature/flag-testing
ignore: include m4 files which created manually

* Some m4 files created manually and we shouldn’t ignore them
build, gyp: set flags for xcode

* fix warnings about dollar for osx