A route should always have a valid HTTP method
The EntityManager should not be flushed within a loop
Merge pull request #423 from arnaudbey/sensio

sensio insight fixes