St Mirren have completed the signing of Estonia international Sander Puri until the end of the season.