Up to five people - including a politician - may be prosecuted by the Gambling Commission as part of an investigation into insiders placing bets on when the snap election would take place.