An amateur rugby player has developed wearable technology which can track head trauma after a teammate suffered three concussion injuries in one season.