Promising Hibs youngster Sam Stanton has committed his future to the club by signing a new three-year contract.