Add data performance tests, revise block diagram, add pthread_mutex_init
Merge pull request #15 from jtanx/master

Update FastCGI Test code
Put FastCGI code into server framework

Implement basic SensorHandler function.
Can now get data from (simulated still) sensor displayed in web browser.

SensorHandler deals with argument checking, identifies the sensor,
sends the JSON, etc, calls Sensor_Query appropriately.

Sensor_Query actually fills a buffer with requested number of data points.

Example of use:
http://server.address/api/sensor?id=0

Use run.sh to start fastcgi server under valgrind.
Fix SensorHandler while loop

do while causes undefined behaviour when params string is empty
Update FCGI JSON methods