Fixes empty "properties" collection.

When using an event-context variable, the properties collection was
empty, even when property items where explicitly given. This function
fixes this.

For more information, see this stackoverflow question (and answer!) on how and why this small patch was created: 

http://stackoverflow.com/questions/23272439/nlog-event-contextitem-xxxx-not-writing-in-logging-database