Don't hold the master lock
Revert "Tidy up build scripts:"

This reverts commit 66b5f75142a2bc2bce2f6851ec8f1e9b05bcd280.
Update LICENSE
Add find_create stat to InboundLedgers
Remove deprecated IPAddress
Use forward_tuple to prevent needless copies