add _maybe_promote to core.common
fix silently upcasting float32 to float64 in reindex/align

Fixes #264
reorg _as_compatible_data
Convert masked arrays properly

Fixes #259.
Merge pull request #269 from shoyer/dtype-casting

Fixes for dtype casting