Image source refactoring
Add a d3 example
Pass pixelRatio to canvasFunction
Pass state option to image source constructors
Add ol.source.ImageVector
Add image vector layer example
Merge pull request #1497 from elemoine/vector-api-d3

[vector-api] d3 integration and vector image