Fix broken duplicate check for adding libraries to the data structure

There are many duplicates of most parameters in all of the output from this script. One copy per vehicle of each library is added. The "in" check was not working because two instances of a class are not the same instance even if they contain the same data. I first encountered the problem when I noticed this odd compass parameter behaviour in apmplanner2, found the root cause of the problem, and fixed it.

![plannercompassprob](https://cloud.githubusercontent.com/assets/854789/3205040/06dd60a0-edb1-11e3-88d8-7618b9576135.jpg)