Add OSX testing to SHA.jl
various performance fixes
add perf command line test
Merge branch 'jcb/perf'