e2e tests

This is a new branch based on the Davide's branch for testing.
It fixes the browserSync stopping after protractor ends and it refactors a little bit the gulp tasks regarding testing.