Fix deprecated API usage

Follows same fix as OpenLayers plugin.
Merge pull request #1 from tomyun/qgisapi

QGIS 2.0 API 변경사항 반영