Fix compilation error with -Werror=delete-non-virtual-dtor flag set

Added a virtual destructor to the local RunAsBrowser() 'Observer' class (even though it is not needed there) so that compiler does not complain.
Merge pull request #1407 from pozdnyakov/Add_virt_destructor

Fix compilation error with -Werror=delete-non-virtual-dtor flag set