Optional sizetocontent

Fix for https://github.com/MahApps/MahApps.Metro/issues/881

----
MOD EDIT:
Closes #881