quick and dirty implementation of make_rwview. Need to be checked, though they work in BAGEL

to be cleaned up by Ed
Reworked make_view to allow rvalue-ref Ranges as arguments, and to reduce the number of friends. make_rwview is also somewhat cleaned up.
when T != Storage::value_type the view is immutable by definition.
Additional improvements to make_view and related functions (including make_rwview).
Fixed faulty implementation of permute function in btas/generic/permute.h. Previous version was plugging invalid indexes ii into Y.range().ordinal(ii). Fixes #55 and fixes #56.
Improved Tensor::resize to avoid cases where Tensor could be made to have a non-contiguous range.
Tyop fxi
Merge branch 'master' of https://github.com/BTAS/BTAS
Extend unitest of btas. (Many parts are not finised, especially for
tensorview. I just push it to let you view it and tell me which part
should be added.)
Changing make_cview to set the value_type of the resulting TensorView appears to fix issue #60. Is it the correct solution?
Gemv can work for CblasConjTrans.
An if statement with the same condition appears twice in gemm_impl.h. And in first if statement,
the function returns. The second if statement is useless. I changed it
by the way.
Minor change for unittest. Chang the test accuracy of float. The
problems with _HAS_CBLAS are still there.
Merge pull request #58 from evaleev/master

implemented TensorMap as a TensorView
Modified unittest Makefile to meet standard convention
Improved fixed-rank tensor unit test
Merge pull request #13 from BTAS/master

sync w BTAS/BTAS