changed expected exception due to changes in gelf-php
Refactored to a more readable version, also added several verifications to ensure the entry has the desired structure.
Refactored: removed code duplication
Merge pull request #1 from lapistano/otherGelfPhp

[WIP] Minor refactoring to bring some structrue in the module