Testing and updating 2.4 scripts for 2.6

I successfully tested this script with QGIS 2.6 after changing the VectorWriter import. Related issue: #5.