adds php 5.6 and HHVM to .travis.yml
disables mongo.so installation (we skip mongo tests anyway)
misc fixes for HHVM
 - changes algos to constants (integers) for php 5.4-5.6
 - casts apache_request_headers() to array
 - fixes array_walk strangeness