scripts : move git prereq. and add missing library

git needs to be installed before cloning the machinekit repo
the libqt4-opengl-dev package was missing and gave an error 
in the machinekit ./configure script