Gck flags check fixes
Fix meaning of gck_slot_has_flags
so that it actually gets the slot flags, and add a function to get the token flags.
Fix meaning of gck_slot_has_flags
so that it actually gets the slot flags, and add a function to get the token flags.