Added sniff that detects if an entity implements the automatically generated interface

Also made the project compatible with PHP 5.4 again
`$error = 'No interface implemented on the Entity';` You could optionally add more text. I don't really care which check returns false, I want to know the problem.