Save float tensors

Includes https://github.com/clementfarabet/lua---mattorch/pull/7
Also fixes deprecated luaT_checktypename2id warnings on build