Fix getImageElement calls in canvas and webgl renderer
Merge pull request #1184 from oterral/get_image_element

Fix getImageElement calls in canvas and webgl renderer
Add ol.coordinate.format function

Return a formatted coordinate. Example usage:
  > ol.coordinate.format([0.01 ,12.14], "{x}, {y}", 2)
  "0.01, 12.14"
  > ol.coordinate.format([0.01 ,12.14], "lat: {y} / lon: {x}", 1)
  "lat: 12.1 / lon: 0.0"
Remove opt_precision check in ol.coordinate.format

Default is already 0, see http://www.ecma-international.org/ecma-262/5.1/#sec-15.7.4.5