This contains updates from BitShares FC, as well as my own updates to make FC support dynamic linkage.