[test] Benchmark: use int distribution for int RNG
[test] Benchmark: use numeric_limits for rng limit

For the int case that is.
[test] Benchmark: Use template param in speed_test
[test] data_type_dispatch: use rvalue ref. for <F>
Merge pull request #393 from gicmo/bench_fixes

Small fixes to benchmarking code