Prime Minister Boris Johnson won a resounding election victory on Friday that will allow him to take Britain out of the European Union in matter of weeks.