Merge bugfixes and changes

* Adjust resource costs
* Charge for open pathfinding requests
* Track local transactions and ensure they stay in the open ledger
* Set fully-canonical flag on local transactions and validations
* Reject expired transactions faster
* Bugfixes.