Use Rails' url helper in devise.rb's root_path.

This fixes #1791.
Merge pull request #1791 from quark-zju/1791-fix-signout-redirect-in-scoped-route

Signing out redirects incorrectly when activeadmin route is scoped