Fix namespace and type for nil attribute

The nil attribute needs the xsi namespace specified, and also needs to
have a string value, not a boolean.
Merge pull request #65 from philipc/master

Fix namespace and type for nil attribute