Added .gitignore
Removed mimepart.cpp.autosave from the project
Make test app console
Fix memory leak