Made ordering of articles cancan aware.

- Wrapped ordering links in cancan checks.
- Added configuration for enabling ordering.
- Added configuration for enabling login.