Added exist method for both keys and sections

Added a function that checks for the existence of a section (or a key)
in both types. I rebuilt the jar also with these changes.