Take into account maps events: 'removelayer' & 'changelayer'

as proposed in OL issue #961