Change polyline property chain

This should fix #008. It also makes the code a little DRYer, as `arrayDidChange` invokes `locationsDidChange` instead of being a copy of it.