make the ReferenceBlock handle any block

hacky as it currently uses the twig extension

@rande should we maybe move some code out of the ``BlockExtension`` to make it reusable in a cleaner way?