Port operator Forth Ports has announced a £50 million private investment in infrastructure at the Port of Leith after securing its largest ever offshore wind contract.