Add TaskDB hash function, bump to 1.2.0

This is for twingly/systemutil#49