Updated Legend.js

Updating of legendClass/position variable when legend changes
Removing of leafletLegend when legend gets set to undefined
Updated Legend.js

Moved watch on legend to the top.
Updated Legend.js

Setting leafletLegend  variable to null after ".removeFrom"
Merge pull request #541 from fbarnard/master

Updated Legend.js