Draw and modify features example

Adapted from http://openlayers.org/en/master/examples/draw-and-modify-features.html.