Use ol.TileCoord.createOrUpdate function
Add @struct annotation to ol.TileCoord class
Merge pull request #1487 from fredj/cleanup

ol.TileCoord: add @struct annotation and use the ol.TileCoord.createOrUpdate function