Added dependency to README-MySQL, minor code cleanup

added python-mysqldb dependency to the readme 

build_merkle function in util is more pythonic with the loop condition explicit - extra call to len() will not materially change performance (tested)