Fix GH278
add core.utils.as_shape
Add Variable.set_dims
Fix to_dataframe with no data variables
Merge pull request #287 from xray/fix-to_dataframe

Fixes for Dataset.to_dataframe()