Support for rails engines route prefix

This is merging the work on harai:route_prefix_prototype in PR #322