Fix the csreq path

For some reason, my version of defaults requires a full path to access a .plist file.
Could not create a file in DERIVED_FILES_DIR ; uses TEMP_FILE_DIR instead
Merge pull request #298 from dak180/topic/build-system

Topic/build system
Merge pull request #299 from barijaona/topic/build-system

Topic/build system
Sign the pre-built frameworks

For better traceability, reapply commit 33bbd65a4b79ea8607b9592ea5d211d232cf5bb4
Merge pull request #300 from barijaona/topic/build-system

Sign the pre-built frameworks
Check for a dirty working directory correctly.

Revert "Apply a strict checking of the version control tag"

This reverts commit 9482c4fc631b8252f9b10ff2a7335c8395b434b0.
Make sure the DERIVED_FILES_DIR exists before we write to it.

Revert "Fix the csreq path"

This reverts commit 828b5d6247ae5acaf543d164009d434876edd5c5.