Add on and un methods to ol.Object
Merge pull request #445 from elemoine/events

Add on and un methods to ol.Object
Do not pass tile grid to getTile and tileUrlFunc

getTile and the tileUrlFunc are functions of the source, so they do need to be passed the tile grid. The tile source knows its tile grid, and can get the projection's tile grid if it doesn't have a tile grid.