[qtmozembed] Move fullscreen handling logic to C++

Application developer declarates threshold after
which fullscreen property changes. When content is moved
from bottom to top and threshold exceeds fullscreen mode
is enabled. Fullscreen mode is disabled when panning/flicking
from top to bottom and fullscreen threshold exceeds.