Minor fixes.
Add a few packages
Add explicit argument when loading whole-line-or-region-mode, because it would be toggled off otherwise when the dotemacs is reloaded
Add smart-newline-mode
Set up rails configuration