cast page_id to integer because OptionsResolver raises exceptions on strings

`The option "page_id" with value "30" is expected to be of type "int", "bool"` in Sonata/BlockBundle/Block/BlockContextManager.php at line 113.