Solves issue #320

Solves issue #320. A more accurate detection of what has happened to the marker was needed because for a MarkerClusterLayer a marker can't be moved, only deleted a added again with its location updated.
Also corrects a little bug while evaluating condition if a marker change its layer.