[cperf] Refactored cperf-hook.sh to cperf.sh, a standalone
script which accepts a commit range and does what cperf-hook.sh
did but for each merge commit in given commit range.