Upgraded several emacs packages.
Added new funtion add-hook-safe and using it to add hooks for cider.
Trivial refactoring.
Refatored appearance setup, moved lines from highlighting to appearance.