use the middleware even in rails applications
use the middleware even in rails applications

`config.force_ssl` adds a middleware before anything else, which
prevents validation of the certificate.
We need to include the middleware first.

Closes #18

dmathieu/sabayon