Refactoring ContactAction on AcmeDemoBundle

Changed:
- getMethod with isMethod
- setFlash with getFlashBag()->set