Added permute!, ipermute!

* these permute an array according to a given permutation
* permute renamed to permutedims
* findnext defined (and used by permute!)
* findfirst defined in terms of findnext
Merge pull request #2201 from kmsquire/permute

RFM: Added permute!, permute!! (renamed permute -> permutedims)