Merge rails4.

commit b15d768bdd9dd9c87fe4e06a5f40285ce79cddb2
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Mon Sep 9 11:09:39 2013 +0200

    PATCH is the new PUT.

commit b26473aecad9c30b09622df6aaa1bfebb8369686
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Mon Sep 9 09:56:33 2013 +0200

    Use new before_action syntax.

commit f9690d007749f6b1b9d99ef6fb070f8d47f60fde
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sun Sep 8 20:04:26 2013 +0200

    Add default secret_token and secret_key_base to configuration file.

commit d468a41518ea302bb86784a50a5db00dc7805646
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sun Sep 8 19:50:06 2013 +0200

    Upgrade carrierwave to latest version.

commit 9e531ec9e1ae729a6c889c271893ec8c7fc777ec
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 18:02:42 2013 +0200

    Move sessions tokens to configuration file.

commit 21c7214510bfc21e504b601fed9c7f015098a72c
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 17:27:46 2013 +0200

    Change breadrumb divider style.

commit 0f482bf6922a2dfe6e14fb160423e22f04214c58
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 17:27:31 2013 +0200

    Fix wrong CSS URL for some jquery-ui components.

commit 8a8b5ef75e6b7de3078da697fa6e8d20d9c7bb9c
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 17:27:13 2013 +0200

    Remove gemfile assets group.

commit c3187a9dcc28626eb9f70e9339e91aefd95256fd
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 17:26:43 2013 +0200

    Reference table when using condition on relation.

commit b47df16e1c1c1623f43c0e311c70040b1d2dd9b5
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 17:26:21 2013 +0200

    Replace dynamic find_by_* by where().

commit a6127867a1cd1cfc6ca996a5e985d964b1698469
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 15:06:42 2013 +0200

    Rename find_by_sha1 scope to with_sha1 to stop confusion with dynamic generated find_by_

commit 4a901b8313964a49530ac02b7e55c3bbad029505
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 11:43:01 2013 +0200

    Reference table when using condition on relation.

commit 3cd7d249b76c02abb0418975473625f455d31dbb
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 11:15:58 2013 +0200

    Fix parameters filtering for convocation firemen controller.

commit 8ec101f8ad615c81fd0cff1f3ebd2c0f942d6364
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 10:58:59 2013 +0200

    Fix parameters filtering for convocations controller.

commit 027c6a98cbdaac4496656b044f1087ae5e2e05cb
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Sat Sep 7 10:43:07 2013 +0200

    Fix parameters filtering for interventions controller.

commit 25b28b436a9bbc5c2c1a66ba957eaed3c51054d8
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 19:01:27 2013 +0200

    Fix profiles controller.

commit 49b956011c53d06a742e71408f5f64eff09bc89c
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 17:39:18 2013 +0200

    Change syntax for pagination to avoid some warnings.

commit 98c51da68c74521b690545b5455ffcecea632e50
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 17:30:19 2013 +0200

    Fix spec for firemen controller.

commit ac75b91d8580580154d6cb4b52e14d87487d675d
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 17:15:08 2013 +0200

    Fix strong_parameters using bad keyword (parameters != params).

commit 7799b60a881e4223416a1797c6d01b13a8e03758
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 17:00:17 2013 +0200

    Use new syntax for routes (match replaced by verb).

commit 19fbde0f7337629ed435bf6bebd4f927d07bb445
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 16:51:34 2013 +0200

    Fix travis-ci before_script to stop dropping a non existing database.

commit 3f6acaf035568d8f905a8e43f50dbbe59f458932
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 16:43:14 2013 +0200

    Use new scope/relations syntax and use strong_parameters.

commit d2e6b9e886ec38f6089b01d3def54d3f1422bd21
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 16:42:33 2013 +0200

    Add new secret key base for sessions.

commit 8298879f4c4e1860cd6d0dfb902f15170df667dc
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 16:41:58 2013 +0200

    Fork authlogic to fix some bugs and use shoulda from developer preview branch.

commit b85972f5632d939b26190d1ecf2da8695f306d71
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 11:53:36 2013 +0200

    Fix Sprockets rails helpers inclusion.

commit 0b214ddaf2944a0d5ffe3116afc3fc2c327b694b
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 09:54:05 2013 +0200

    Disable some validates_timeliness features until its rails4 compatible.

commit c9972c7cd46bf72f74480d0ae584dc0085f4cc4d
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Fri Sep 6 09:53:46 2013 +0200

    Use acts_as_geocodable from rails4 branch.

commit da24f2a877d38040b16d31ea03d130a302dc3f07
Author: Raphaël Emourgeon <raphael.emourgeon@gmail.com>
Date:   Thu Sep 5 16:06:19 2013 +0200

    Upgrade to rails4 and update configuration files accordingly.