Huge project modification in order to use Cmake (for portability, packaging and tests with travis): Still WIP