[WIP] Implements a paged route collection using a paged route provider (2)

Current work, not done yet
symfony2 CS is 
```
if () {
    ...
} else {
    ....
}