Fixed some bugs in dialog.js and added customizability to full screen dialog margins

This pull request fixes Durandal.js issue #574. Additionally, this change adds customizability to full screen dialog margins (updated related documentation as well). Also this change fixes a minor bug where full screen dialogs were not constrained to the window size on a second opening. I wish that these fixes work everywhere and do not introduce new bugs.