Apply new index convention gf/tail (python part)

  modified:   pytriqs/applications/dft/sumk_lda_tools.py
  modified:   pytriqs/gf/local/descriptors.py
  modified:   pytriqs/gf/local/gf_generic.py
  modified:   pytriqs/gf/local/gf_generic.pyx
  modified:   pytriqs/gf/local/gf_imfreq.py
  modified:   pytriqs/gf/local/gf_imtime.py
  modified:   pytriqs/gf/local/gf_legendre.py
  modified:   pytriqs/gf/local/gf_refreq.py
  modified:   pytriqs/gf/local/gf_retime.py
  modified:   pytriqs/gf/local/impl_plot.py
  modified:   pytriqs/gf/local/tail.pyx
  modified:   test/pytriqs/base/gf_base_op.py
Adjust index convention in c++ tail

  modified:   tail.hpp
Add front_pop and front_append in mini_vector

  modified:   mini_vector.hpp
Adapt gf/local tools to new index convention

  modified:   fourier_matsubara.cpp
  modified:   fourier_matsubara.hpp
  modified:   fourier_real.cpp
  modified:   functions.cpp
  modified:   legendre_matsubara.cpp
  modified:   pade.cpp
Adapt gf's to new index convention (1st iteration)

  modified:   imfreq.hpp
  modified:   imtime.hpp
  modified:   legendre.hpp
  modified:   refreq.hpp
  modified:   retime.hpp
index convention change: adapt proxy

- a fix a few bugs, but still not ok
Adapt matrix_stack to new index convention

  modified:   triqs/arrays/matrix_stack_view.hpp
Fix matrix_stack_view

  modified:   triqs/arrays/matrix_stack_view.hpp
Fix mat_stack test

  modified:   test/triqs/arrays/mat_stack.cpp
Fix some indices in python gf

  modified:   pytriqs/gf/local/descriptors.py
  modified:   pytriqs/gf/local/gf_generic.py
  modified:   pytriqs/gf/local/tail.pyx
Fix matrix_view_proxy

  modified:   triqs/arrays/matrix_view_proxy.hpp
arrays: revert move assign op

This reverts commit cfb76a38aaf9cbdfd3146cf08791ceb566ea9761.
 and add further corrections.

- move assign op was erroneous  :

a_view = rvalue&& to a view should NOT move but copy.

eg.
auto V = A(1,range(2,4));
V = function_returning_a_view(....);
-> want the data to be copied into the view.

The first version was indeed correct.

- delete again the std::swap for views. Use swap.
arrays: fix bug in memcpy call

- rewrite the memcpy call : was buggy for views
- start removing const T type as array element
arrays. h5 : fix a missing return in write_array

	modified:   triqs/arrays/h5/simple_read_write.hpp
add make_clone in tail inversion

- aliasing pb in matrix multiplication

	modified:   triqs/gf/local/tail.hpp
Change gf data in h5 files

  modified:   doc/user_manual/introduction/solution.h5
  modified:   doc/user_manual/solvers/dmft/single_site_bethe.h5
  modified:   doc/user_manual/solvers/solution.h5
  modified:   test/pytriqs/base/gf_base_op.output.h5
  modified:   test/pytriqs/base/gf_init.output.h5
  modified:   test/pytriqs/base/pade.output.h5
  modified:   test/pytriqs/dft/srvo3_Gloc.output.h5
  modified:   test/pytriqs/solvers/ctqmc_hyb/cdmft_4_sites.output.h5
  modified:   test/pytriqs/solvers/ctqmc_hyb/single_site_bethe.output.h5
  modified:   test/pytriqs/solvers/hubbard_I/hubbard.output.h5
Fix hubbard solver for new index convention

  modified:   pytriqs/applications/impurity_solvers/hubbard_I/hubbard_solver.py
Adapt ctqmc_hyb solver to new convention

  modified:   applications/impurity_solvers/ctqmc_hyb/gf_binner.hpp
  modified:   applications/impurity_solvers/ctqmc_hyb/measure_legendre.cpp
hdf5 : solve issue on mac

- attrs.create intead of attrs[]
  which of course does NOT write in the same format !

	modified:   pytriqs/archive/hdf_archive_basic_layer_h5py.py