Gvim compatibility

I've added tests to dectect the platform (macvim or gvim) and disabled fullscreen and fuoptions settings in case of a gvim environment.