Add ol.style.Shape

Add function to draw basic shapes to be used as markers: regular
polygons and stars