Add test for getUsedSettings
Add test for getUsedSettings

One test case currently fails: The test where the same variable was used twice. I thought it would be best if it would only report uniques.

Contributes to issue CURA-1278.

onitake/Uranium,onitake/Uranium