[WIP] Behat integration

The goal of this pull request is to cover current functionalities with behat scenarios, this will give us more guaranty in the future that new things didnt break anything.  
This PR must be finished before adding dashboards feature.