Added validation of attributes

Not fully tested, but this update should allow the library to actually
load TMX files. If any string properties were blank, indicating default,
then formerly it would crash.