PHP5.3 compatibility and InfluxDB deprecated features

Compatibility with **PHP5.3**:
  - ```array()``` syntax used instead of ```[]```

Fixing the TravisCI build with **InfluxDB deprecated features**:
 - ```dbs``` is changed to ```db``` in the latest InfluxDB when listing dbs
 - ```username``` is changed to ```name``` in the latest InfluxDB when creating user
 - ```PHPUnit_Framework_TestCase``` instead of ```phpunit_framework_testcase```
 - Grouping by anything but time does not return time anymore