replacing poorly made _.hasDiff by lodash _.isEqual
introducing a basic migration tool for couchdb
searchByUsername
- uses user.safeUserData
- stops reaffecting the variable user, supposed to be the lib

Utils:
+ mapCouchValue and mapCouchDoc