Removes sortations for catalog counts

Sortation isn't neccessary for counting and it slows down the query
Filters records for duplicates before aggregation

This fixes the problem of counting product attributes in combination with a limit
Merge pull request #535 from nsendetzky/2014-03-04_locale-check

Enforces valid locales in translation classes
Merge pull request #537 from nsendetzky/master

Improves support for Facebooks Hiphop VM
Skips test when executed with Hiphop VM
Adds Hiphop VM for travis-ci tests
Uses phpunit, phpcs and phing via composer
Makes phpdocumentor a suggestion so Hiphop works at travis-ci
Adds install shell script to simplify installation process