Refactor StreamMap methods to use HashMap::Entry
Based on last week's IRC discussion I did the refactoring on streammap.rs .
As always please let me know if the style/logic can be improved and I can do it promptly.
I was also thinking of working on // TODO: would be nice to avoid new_ref.
but I was not sure how to do that. Perhaps I can make a new MR for that.