Ivan Sproule's early strike was enough for Ross County to beat St Johnstone in the SPL with a hard-earned 1-0 triumph.