Gloo new api

This is the new gloo API that should ease the use of gloo.
All tests passed on my machine but 1 (that is expected and marked as such in  test_variable.py).

It did not rewrote examples yet, will do so in a few days hopefully and start reorganization of the repo as indicated in #104 if everyone agree.