The environment and nature of the Class I protostar Elias 29: Molecular gas observations and the location of ices