Export ol.extent.createEmpty function

Code by @fredj, as agreed on the mailing list. GitHub doesn't allow people to re-open pull-requests that they didn't create, and Fred is on holiday at the moment.

This replaces #1080 and #1082.