Rework the podspec

Switch to building from source to better match how CocoaPods wants to work and
reduce the required download size, and add a subspec with only the headers to
work around the issues with overlinking the libraries in unit tests.

Closes #690.

@alazier 
still it allows you to avoid adding `|| exit 1` at the end of mkdir lines :smile: