New engine port of timestore to php
Fix last value
Added phptimestore definition
$timestamp instead of $time
Timestore based get_Series function
phptimestore based average data
Merge remote-tracking branch 'upstream/master'