A non-minimally coupled potential for inflation and dark energy after Planck 2015: a comprehensive study