Add a few tests for dictionary codegen.
Support nullable strings in dictionaries.

We copy the string in all cases, so there's no need to handle the isMember
case differently.
auto merge of #2155 : Ms2ger/servo/dictionary-codegen, r=jdm