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