Implement dirty check.
Merge remote-tracking branch 'upstream/master'
Fix dirty not set when create, paste, delete button
Merge remote-tracking branch 'upstream/master'

Conflicts:
	Fenubars/Display/Fenu.cs
Discard always asking if save modification on document closing
Merge pull request #14 from feifanhe/master

Implement dirty check