Add a strtol-based implementation
Merge pull request #1 from pdewacht/master

strtol-based str2long for benchmarking