Inject EBean in rest interceptors

This PR resolves the issue #661.