dialog: if sending BYE fails at timeout, unref dialog

- destroy dialog structures
presence_dialoginfo: get rid of unused variables warning

- priority and winning_priority are used in an alternative winning node
  selection which is disabled now
- reported by Jua Heinanen
dispatcher: fix weight attr comparison
dispatcher: expand attrs while running rpc command dispatcher.list
pv: proper length for line transformation when handling last line of value
core: free previous allocated variable if no more pkg to build rve struct

- cleaner shut down if not enough memory at startup
db_flatstore: free result before returning null on no more pkg

- partial allocation when doing an incomplete new connection
ipops: free dns pv structure on invalid pv name
rls: proper header define guard and check of null returned value
rls: free item in case of duplicate when trying to add to str list
parser/sdp: assign stream var only if session is not null
kamcmd: proper size for memset, based on malloc
topoh: match on all ports if none is in the uri for checking self

- forcing default 5060 can fail for multi-listen case and tls
core: use port 5061 for checking self when uri has transport tls

- 5060 was used, failing to match myself condition
siputils: allocate enough space to hold ending zero for tel uri in tel2sip()

- reported by Juha Heinanen