The PHP-Identicons library converted to a php class with some extra features