MRG: extend Pipeline transform and inverse_transform behavior

Pipeline transform and inverse_transform skip last step if it lacks corresponding methods.

The extension is useful to:
- extract the features before the last step of the pipeline for debugging purposes
- inverse_transform the `coef_` attribute of a linear classifier for example