Force base domain and https when on a devise controller

Depends of #180 and It solves #60.

I also moved some code from application controller to a concern.