update python code to QGIS 2.0
update metadata for the new release