Support for rails engines route prefix

This is merging the work on harai:route_prefix_prototype in PR #322
We still want to test without your custom engine