Header inclusion fix
Fix building on 10.6: one missing file changed to new debug log; use 10.6 SDK
Look for OpenSC headers in build/opensc-src, which should be a symlink to a built OpenSC/src tree
Add script to fetch the binary pieces from Apple.
MacInstaller: upgrade tokend for r4788
Increase the default score to 300.

This allows to use OpenSC (which has quite fine-grained card matching support) with
cards that (incorrectly) answer with 0x9000 to application selection commnds.

CAC driver only checks for a successful SELECT command for card detection and thus incorrectly
grabs some Estonian eID cards.
Synchronize with r5041 of OpenSC

https://www.opensc-project.org/opensc/changeset/5041
OpenSC.tokend: don't require hard /Library/OpenSC for building OpenSC.tokend
Search for libraries in OpenSC build directory, not /Library/OpenSC
MacInstaller: update OpenSC.tokend code to reflect changes in [d888b3fd55053894dcc751b21301d53669e966ba] (r5550)
Fix compilation error on 10.7 with clang

In file included from /Users/martin/OpenSC/OpenSC.tokend/Tokend/Cursor.cpp:35:
/Users/martin/OpenSC/OpenSC.tokend/Tokend/Token.h:189:32: error: redefinition of parameter 'hKey'
                 CSSM_HANDLE *hKey, CSSM_KEY *hKey);
                                              ^
/Users/martin/OpenSC/OpenSC.tokend/Tokend/Token.h:189:16: note: previous declaration is here
                 CSSM_HANDLE *hKey, CSSM_KEY *hKey);
                              ^
Remove compiler warning.

/Users/martin/OpenSC/OpenSC.tokend/Tokend/DbValue.cpp:237:11:{237:6-237:10}{237:13-237:14}: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare,3]
         if (hour < 0 || hour > 23)
             ~~~~ ^ ~
/Users/martin/OpenSC/OpenSC.tokend/Tokend/DbValue.cpp:241:13:{241:6-241:12}{241:15-241:16}: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare,3]
         if (minute < 0 || minute > 59)
             ~~~~~~ ^ ~
/Users/martin/OpenSC/OpenSC.tokend/Tokend/DbValue.cpp:245:13:{245:6-245:12}{245:15-245:16}: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare,3]
         if (second < 0 || second > 59)
             ~~~~~~ ^ ~
Fix proposed in:
https://github.com/martinpaljak/OpenSC.tokend/issues/1
Merge branch 'master' into new_master