save layer order after dragging
test for sortupdate
test for update() function as well as changed()
better error messages
Merge pull request #986 from mapbox/allow-drag

save layer order after dragging