Merge pull request #4 from shearl/master

added ability to sign single file or all files in directory
Bug in C_GetMechnism... fixed!
added version to sc-hsm-pkcs11.dll
ctccid/usb_device.c:
Called libusb_reset_device immediately after opening (fixes problem with old kernel 2.6.21 on ARM).
Atomic operations for ref counting (not really needed because all functions should be synchronized).
--reset-so-pin added to sc-hsm-ultralite-test
Made ctapi true thread-safe. Specifically create/destroy of the on-demand created mutex is now thread-safe.
Merge branch 'master' of https://github.com/sc-hsm-clone/sc-hsm-embedded
Added FileTimes.ftm
cosmetics
minor bug fix
Moved check for __sync_add_and_fetch to configure script because the GCC_HAVE_SYNC_COMPARE_AND_SWAP_* macros dont seem to be well supported.