Changed timing system, fixed can-dig-anything bug.

Turtles were able to dig anything before this commit,
because they ignored tool groups.
This commit fixes that.
It also adds a proper timing system, and configuration of how long it
takes to perform operations.