Elecrtonically controlled closed circuit rebreather