Added tool durability check, and such

Added check for durability upon start of "dig" - return to "base" if
tool is broken/missing (did that allready from before) but this is a
major change when the robot uses TiC tools.

changed the way the -x was called and performed.
some code cleanup and added check for xpupgrade

added a check to see if XP Upgrade is installed - this way the Robot
without the upgrade dont get spammed alot of useless xp info. (homefunk)

removed 1 commented out line (d.stensnes)