Update unit tests
Add experimental support for querying a sensor an arbitrary range of points
Merge branch 'master' of https://github.com/szmoore/MCTX3420.git

Conflicts:
	server/sensor.c
Add request parsing helper, add TIMEVAL_* macros, move timestamps to identify module
Revert change made to timestamp placing in JSON responses
Merge pull request #32 from jtanx/master

Add FCGI request parsing helper
Refactor Sensor related code; introduce seperate functions for dealing with DataPoints

DataFile acts as wrapper around whatever stores DataPoints. Currently wraps a binary file.
Rewrote Sensor_Handler in anticipation of using new FCGI_ParseRequest function.

Hopefully I can merge this easily :S
Merge branch 'refactor'

Conflicts:
	server/sensor.c
	server/sensor.h

Also made the resulting code compile.

BUT...
There are memory errors in the FCGI code :S
Automatic commit of irc logs
Fix errors in refactored code

NOTE to Jeremy: I was using 2 FILE* for read/writing
But that seems to cause irregular behaviour (fread fails a lot).
So I just made both the FILE* the same and put mutexes around all of Data_Save and Data_Read for now.
Merge branch 'master' of github:szmoore/MCTX3420

Stupid irc logs
Merge remote-tracking branch 'upstream/master'

Conflicts:
	server/sensor.c
	server/sensor.h
Modified sanity check