Returns 400 if the user tries to create two corpora with the same name
Fixes broken tests after Mongodict update

Mongodict now pickles the object before adding it to the database (which I'm
still not sure if is a good idea). I changed the tests to use the Mongodict API
instead of inserting directly to the database.
Merge branch 'bugfix/duplicate_corpus' into develop