Invalidate undoAvailable on forgetHistory.

Closes #1.
Make isUndo/RedoAvailable revalidate undo/redoAvailable property.
Remove eclipse files from source control.

Generate them by gradle.