A study by the Tax Foundation has ranked which states have the best tax environment for business -- and which ones don't.