implement mining (#9)

- overlay to indicate how much minerals player has
- lots of pathfinding bugs exposed now that we have mining and mineral
  clusters