Add unit tests for IndexElement
Add a serialisation on QTextStream function
Correct formating
Adapt to Lima Libre tagset
Use now QtTest for unit testing
Adapt to Lima Libre tagset
Add  a  serialization function
Correct a memory error bug causing a crash

This access to a setter on a possibly null object pointer should have caused crashes before but didn't by chance.