added std.array.isSliceOf

`isSliceOf` is a complement for `sameHead` and `sameTail`.
Should we be using `in` so pervasively when the semantics for `scope` are still up in the air? Why not just use const?