Well, at least this oughta tie things up in court for a couple years. Amazon has filed a lawsuit in New York contesting a controversial new state law requiring some online retailers to collect sales tax on purchases shipped to New York’s residents, even if they have no offices or employees there. The e-commerce giant…