Hamilton have awarded contract extensions to four players in the wake of their promotion to the Scottish Premiership.