If he's failed his medical, it only backs up what I feared. He'd be a great signing ability wise, but he'd miss half the season injured.
As for Stevie May, I don't think he'll sign either. Alex Neill is about to be named their new manager and he's an ex team-mate from May when he had a successful spell at Hamilton
Think Neill will want to keep him and give him a chance.