dkim_sign: fix crash issue #560

* initialize headers_to_sign as empty array, because that's what everything after will try accessting it as
* shed camelCase
* whitespace style updates
* consistent use of ; chars (syntastic)