add test for rate calculation

also move the class that does the optim database conversion from the
scripts directory to utils/
RateCalculation doesn't need ndof, so remove it

it was used in the occupation probability calculation, but it is same
for all minima so it would cancel out upon normalization
import changes from external package test_kmc

include support for committor probabilities