Fix #204: Leak in CustomDialog

Also included test method inside CustomDialogSample
Merge pull request #205 from kiwidev/dev

Fix #204: Leak in CustomDialog
Modified nuspec/changelog