look for SoftHSMv2 as well
use local and quote vars
move local def
Merge pull request #17 from jschlyter/softhsmv2-testing-1.3

Basic SoftHSMv2 support for 1.3
Try and require softhsm2 first and if it fails try softhsm, ignore all output from softhsm2 require.
Merge pull request #18 from jelu/fix-more-softhsm1-and-2-compability

Try and require softhsm2 first and if it fails try softhsm, ignore all o...
Removed all $Id tags
Merge pull request #26 from jelu/remove-ids-1.3

Removed all $Id tags