Fix menu dependency + deprecated symfony 2.1