Improvements and new function for ListDictionary

* Support for wObjects - makes it possible to supply a "free" function to properly free the values
* ListDictionary_Remove returns the value of the removed object
* Function ListDictionary_Remove_Head added