GetStyles split from GetStyle

As dicussed with Marco:
http://lists.osgeo.org/pipermail/qgis-developer/2014-January/030014.html

Since this is my first C++ contribution to the project, please check my code. It builds fine and I tested it with a couple of simple projects but I'd prefer it to be inspected by an expert.