Some bugfixes for sensor/data code + add FCGI_INT_T

Note: PrintByTime/Points have exclusive ends now.
Merge pull request #33 from jtanx/master

Some bugfixes for sensor/data code + add FCGI_INT_T
Merge pull request #31 from Callum-/master

included analog and digital fail test sensors
made threshold structure and fixed checkdata