Added support for changing path attributes

This pull request includes a fix to issue #366 along with a small unit test which demonstrates the issue. The change allows any of the "availableOptions" to be updated. The test case only covers the colours but based on the Leaflet API any of the other availableOptions can be set using setStyle.