BUG: Bug in binary operations with a rhs of a Series not aligning (GH6681)
Merge pull request #6682 from jreback/binary_op

BUG: Bug in binary operations with a rhs of a Series not aligning (GH6681)
BUG: NaN values not converted to Stata missing values

Stata does not correctly handle NaNs, and so these must be replaced with Stata
missing values (. by default).  The fix checks floating point columns for nan
and replaces these with the Stata numeric code for (.).  One of the code paths
which writes files correctly handled this case, and this last-minute check was
removed.

The write_index option was also being ignored by omission. This has been fixed
and numerous tests which were not correct have been fixed.

Also contains some additional tests which were uncovered edges cases related to
fix.