add WIP version support

This little update adds support for Work-In-Progress-type of versions.

Note that I've written this at 2:45 am on my phone so I could've made some mistakes... Also I know that line 40 is pretty dirty but I guess that's not really a problem with MCEdit filters anyways.