[DF-1955] fixed createlastcommand fn
[DF-1948] fixed mistake in class name
[DF-1949] now using SafeDelete
Merge branch 'development' of https://github.com/dava/dava.framework into development