Add ol.source.XYZ#setUrl

As [requested on ol3-dev](https://groups.google.com/forum/?fromgroups=#!topic/ol3-dev/bKo627sevp4).

Note that this commit is based on #979.