Updated devise to address recent securiry vulnerability
Tweak for travis (1.9+ only and postgres fix)