make validate() method throw exception, not return bool #1689

#1689

Note: nothing to update in tests--

* The tests never use the method `MediaInternetEmbedHandler::validate()`;
* instead the tests directly check the boolean return value from the function `media_embed_check_src()` (the same check made in the method).