Fixes debug mode from blowing up due to web-profiler-bundle hitting 2.4 dev

I had an issue hitting index_dev.php with an exception saying isMasterMethod or something didn't exist. This fixes that.