Rails4: replace deprecated Relation#update_all at application helper test

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012490
Rails4: deprecated find_by methods with options at ApplicationHelper

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012491
add unit test to have one default repository

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012492
Rails4: replace deprecated Relation#update_all at Repository model

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012493
Rails4: replace deprecated Relation#update_all at SetDefaultRepositories db migration

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4012494