dictionary: added case sensitivity option to remove functions

the remove functions also needed the case sensitivity option like the
add functions so that an item will be properly removed from the
dictionary, which stores the keys in upper case (by default); in other
words, if case sensitive option was used when adding, then it must also
be used when removing the item