Fix possible NPE and crashes
Merge pull request #1822 from Prototik/npe

Fix possible NPE
Intrusive rewrite of some power transmission mechanisms.
The new algorithm should be better at balancing power consumption between
sources.
For #1746
Fix potential exceptions, close #1815
Added to wood pipes the ability to interact with all BC energy APIs.
Close #1824
prepare 6.0.14 release
Merge branch '6.0.x' into 6.1.x