Reimplement nt2::swap

- Remove dependencies on BLAS
- Support sub-table swap
- Potentially optimized in SIMD/threading
Merge pull request #753 from MetaScale/nt2_swap

Reimplemented nt2::swap