Indentation error in the Dissolve.py fTools Processing script

This results in the intermediate object being written on every merge with an input feature rather than just once at the end of the processing.

I have also edited the defineCharacteristics function to allow the tool input to accept polyline features as well as polygons, in line with the fTools UI.