The flow past a sphere in a cylindrical tube: effects of intertia, shear-thinning and elasticity