activate yasnippet and fix problems with cua-mode (cua-mode enabled after yasnippet)