Increment index of pooled entities

Re-using indexes in pooled entities gave me serious problems when trying to transmit entities over network. It was lot easier by having unique indexes. 

I do increment in the reset() function because If I do it in the obtain() part, the first entity index will be set to 1 instead of 0.