ENH: Allow ravel to reshape in place when possible

Closes gh-5033

Will add tests later...
Hmm, it seems that `NPY_KEEPORDER` and `NPY_ANYORDER` are the same when there is only one array. Should there be an `||` here?