Fixed symfony to version 2.5.1. The changes of 2.5.2 break all rest controller tests because it will not return a Content-Type header