VideoHandler: Handle most video related environment commands

VideoHandler now handle set_rotation(), get_overscan(), get_can_dupe()
and get_pixel_format() video related environement command.
InputHandler: handle input related environment commands