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

...type attributes is null.

Fix #51 
@dotMorten For Code Review