Create a graphic with an empty attributes collection when template prototype attributes is null.
Merge pull request #55 from Esri/dom/issue51_templatepicker_nullexception

Create a graphic with an empty attributes collection when template proto...