Fix tests (#474)
Fix tests (#474)

* fix test: should find all medias with an empty search

* fix test: should edit the title of a media

*  fix test: should edit the description of a media

*  fix test: should flag media as a command

* fix test: should flag media as a command

* fix test: should move media to another project

* fix test: should redirect to access denied page

* fix test: should tag source as a command

* fix test: should not create duplicated source

* fix test: should comment source as a command

* fix test: should not create report as source

* fix test: should autorefresh project when media is created

* should register and redirect to newly created image media

* fix test: should go from one item to another

* fix test: should search in trash page

* fix test: should search by project

* fix test: should search and change sort criteria

* fix test: should search and change sort order

* fix test: should search by project through URL

* fix test: should change search sort criteria through URL

* fix test: should not reset password

* fix test: should reset password

* fix test: should set metatags

* fix selector in test 'should search by project through URL'

*  fix test: should autorefresh project when media is created

* fix test: should search by project

* fix test: should create claim

* fix test: should add and remove accounts to sources

* fix test: should edit source metadata (contact, phone, location, organization, other)

* fix test: should add and remove source tags

* fix test: should add and remove source languages

* fix test: should search by project

* fix test: should refresh media

* fix test: should embed

* fix test: should autorefresh project when media is created

*  fix test: should refresh media

*  fix test: should manage team tags

* should edit basic source data (name, description/bio, avatar)

* fix test: should add, edit, answer, update answer and delete datetime task

* fix test: should comment media as a command

* fix test: should not create duplicated media

*  fix test: should update notes count after delete annotation

*  fix test: should autorefresh media when annotation is created

*  fix test: should linkify URLs on comments

*  fix test: should manage team tasks

* fix test: should search map in geolocation task

* fix test: should search for reverse images

* fix test: should add, edit, answer, update answer and delete geolocation task

* fix test: should upload image when registering

*  fix test: should add, edit, answer, update answer and delete short answer task

*  fix test: should add, edit, answer, update answer and delete single_choice task

*  fix test: should add, edit, answer, update answer and delete multiple_choice task

*  fix test: should delete annotation from annotations list (for media and source)

*  fix test: should add a comment to a task

*  fix test: should embed

*  fix test: should paginate project page

*  fix test: should install and uninstall bot

* fix test: should show: edit project (link only to users with update project permission)

* fix test: should redirect to last visited project

* fix test: should request to join, navigate between teams, accept, reject and delete member

meedan/check-web,meedan/check-web,meedan/check-web