move opacity to optNames; fix jshint issue #9
update UMD wrapper per new plugin guide

(see Leaflet/Leaflet#2955)