fix font-lock-keywords syntax

The syntax is (MATCHER . FACENAME) (note the dot).
remove redundant font-lock-keywords

`lisp-font-lock-keywords' is identical to `lisp-font-lock-keywords1',
`lisp-font-lock-keywords2' is a superset of `lisp-font-lock-keywords1'.
inhibit change hooks during (insert content)

`yas-expand-snippet' narrows to a 0 size region before doing (insert
content), this confuses cc-mode's before-change-functions that
invalidate some cached information. Binding `inhibit-modification-hooks'
to `t' prevents calling these functions.

Fixes #404.
add: test for issue #404
fix: don't use universal-argument-num-events
Revert "inhibit change hooks during (insert content)"

This reverts commit 90d4cae1b1bbfacc612e73444f1e5a723ae4036e.
wait till after content insertion to narrow

Fixes #404 without inhibiting change hooks.
Merge pull request #409 from npostavs/font-lock

Fix yas--font-lock-keywords
test middle-of-buffer snippet insertion
Merge pull request #412 from npostavs/less-narrow

Wait till after content insertion to narrow
Closes #415: remove c-specific hacks, harmful on emacs 24.3
don't kill snippet buffer unless saved

Split the quit-window part of yas-load-snippet-buffer into
yas-load-snippet-buffer-and-close, and only quit if the snippet was
saved.

This resolves #417, where you could lose a snippet by giving the wrong
answer in a prompt.
move snippet saving from loading to closing

yas-load-snippet-buffer now just loads the snippet,
yas-load-snippet-buffer-and-close also saves it.
let C-c C-c save existing snippets too
Merge pull request #423 from npostavs/load-snippet-ui

Improve load snippet ui
Feature: de/activate-extra-mode

Adds functionality to deactivate/activate extra modes. Two new functions
are added: `activate-extra-mode', `deactivate-extra-mode'. These two
functions activate and deactivate snippets for the given mode in the
current buffer. The use-case for the functions is to have a simple
interface for adding new snippets when activating a new minor mode.

The previous way of doing this, using `yas-extra-modes', is made
obsolete and the new deactivate/activate should be the preferred
instead. The reason for making `yas-extra-modes' obsolete is to keep a
simple interface.

See issue #420 for more information.
widen before deleting regions

This avoid problems with c-mode's after change hooks.
add: external test for issue #404
Closes #404: merge remote-tracking branch 'npostavs/widen'
Merge pull request #424 from ljos/de/activate-extra-mode

Feature: de/activate-extra-mode