Public method close infowindow

Please, @javisantana , could you review it?
Should we do it as this commit (Infowindow public method), or should we have a layer method?
cc @xavijam