A Government bill to ban those deemed dangerous from coming anywhere near guns has had a successful first reading in Parliament.