if we are loged out and do ajax, we can redirect to login page.
Merge pull request #109 from opf/feature/ajax_session_loss

if we are loged out and do ajax, we can redirect to login page.
fix db migrate #1164
Merge pull request #132 from marutosi/fix-db-migrate

fix db migrate down update_journals_for_acts_as_journalized
Fix XSS in select2 formatter
Revert "if we are loged out and do ajax, we can redirect to login page."

This change results in a JavaScript dialog, which breaks cucumber tests.

This reverts commit b3262028dbe96136cc4def5f0d839cddbd925e10.
Merge pull request #198 from opf/feature/fix_select2_xss

Fix XSS in select2 formatter