Implemented esi:choose and started on the implementation of esi:when