Repository.xs: Added is_shallow() and state_cleanup() methods
Repository.pm: Added documentation for is_shallow() and state_cleanup()
REMOVE ME