A multi-million pound contract to build a major port handling facility which will regenerate the former Redcar steelworks dock has been signed.