Introduce label and reltype distribution heuristics.

 o Add .heuristics() method to kernel
 o Heuristics are persisted on shutdown
 o Samples random nodes every 30 seconds
 o Expand job scheduler to allow cancelling jobs
Merge pull request #2158 from jakewins/2.1-heuristics

Introduce label distribution heuristics.