Change the way classloader for VaadinService is selected (fixes #11295)

Change-Id: I2a25b4149f927ee7940edf596e8cebaaa48dcd0d