Fixed problem with selecting a feature to edit attributes when an

 infoTemplate exists for feature layer.

This change remove the infoTemplates when editing begins and re-adds them when editing stops.