Fixed somes issues from SensioLabsInsight

All others errors could be ignore IMHO
And the `Test` directory should be ignored in the project configuration