fixed js error in IE8: ContextualData's ContextPopup control was added twice, Profile's layer was destroyed even if it was not created beforhand
Merge pull request #531 from camptocamp/fix_js

fixed js error in IE8: ContextualData's ContextPopup control was added twice, Profile's layer was destroyed even if it was not created beforehand.
These caused some js error on page unload with IE8 when these plugins were enabled.
Merge remote-tracking branch 'origin/1.3'