Get the configuration from the right project, not just the first one.

This should resolve https://github.com/VioletGiraffe/cppcheck-vs-addin/issues/25 Not completely sure how good it is, so I won't merge it before it is kind of peer reviewed.