Added connection to set a layer's title in the kw directly from qgis legend
added test. closes #1191
refactored FakeLayer class to utilities for testing
fixed typo
Disconnect only our own slot
Merge pull request #1208 from mbernasocchi/inasafe-1191

Fix Inasafe #1191