Group::hasObject(): use H5Lexists()

@stoewer I vaguely remember some issues about that function. Can you remind me what the problem was with it or is this just good to go in as is?