Owain Tudur-Jones and Ryan McGivern have agreed to sign for Hibernian on two-year contracts this summer.