std.range.constraints & std.array cleanup

use static import

rm static
Merge pull request #2701 from 9il/ar

std.range.constraints & std.array code/import swap