Add missing stat.h dependency to properly compile on RHEL6 + properly register flot as a submodule

There is a missing dependency in the new tests which prevents istatd from compiling on RHEL6
Also, there sould be .gitmodules with flot registered as a module