Compare bool fields by value of backing field rather than property.

When creating new projects the property value will be null, which means
the bool/string properties are never serialised.  This fixes #459
Merge pull request #460 from 7sharp9/master

Compare bool fields by value of backing field rather than property.