[Py QGIS cookbook] Debugging Vector Layers

QgsGeometry has no vectorType but a type method
processing has no getfeatures but a features method
Vector layer has a selectedFeatures method to accessing only selected
features.
Merge pull request #206 from rldhont/master

[Py QGIS cookbook] Debugging Vector Layers