JBIDE-17818 Visual Editor: Need to handle external html / htm files

@maxandersen @dgolovin @fbricon @alexeykazakov - I need +1 to push it into X branch
and if it is relevant why not use the SuitableFileExtensions ? 

what happens if the file is not named "html" ?