Make dependency on rest-bundle work with new 0.12

Make dependency on rest-bundle work with new 0.12 version that works with Symfony 2.2.