Don't add nil name attribute to InfoHash

Currently `InfoHash#to_hash` always adds `name` attribute to the resulting hash, even if it is nil. 

PR fixes this behavior by adding only non-nil name.