Add support for passing parameters and a block through include_examples
Created by: cbascom
The it_should_behave_like
and it_behaves_like
methods of pulling in shared examples both allow you to pass parameters and a customization block. In my case I preferred the include_examples
method instead of those alternatives but it did not support passing parameters or a block. This change adds that support along with tests for it.