Some updates for symfony 2.5

bind method updated as submit and getRequest method changed  for symfony 2.5