Theoretical investigation of low-Reynolds number swimming near walls, corners and in weakly shear-thinning fluids