Streamline some code slightly
Streamline some code slightly

Instead of jumping through hoops with g_hash_table_foreach, iterate over the
hashtable. Also no need to assert something is of a certain type, static type
checking ensures that already and if it's NULL things will explode anyway..

Ziemin/telepathy-gabble,mlundblad/telepathy-gabble,Ziemin/telepathy-gabble,mlundblad/telepathy-gabble,jku/telepathy-gabble,jku/telepathy-gabble,Ziemin/telepathy-gabble,jku/telepathy-gabble,mlundblad/telepathy-gabble,Ziemin/telepathy-gabble