fixing the TravisCI build with InfluxDB new 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
Compatibility with PHP5.3: Changing [] syntax to array()
Merge pull request #7 from supertowers/master

PHP5.3 compatibility and InfluxDB deprecated features