Spin bags, polarons, and impurity potentials in la2-xsrxcuo4 from 1st principles