Gravito-turbulence and dynamo in poorly ionized protostellar discs – I. Zero-net-flux case