some refactoring
added db evolutions
some fixes
added tests, delete contact, bugfixes
fixed test
Merged 'dev'.
Finish edit_contacts