empty json rpc batch request now results in an empty result array
instead of nothing.

Change-Id: I9f6f4ddf900d1452755450490d723b3635a49220
Code cleanup and added license headers

Change-Id: Id4e723b41da8fd04cfe5254769e32e7f3e0bfcb4
Now using C++ parseCSV() function which is much faster.