Enable braces match check of cpplint.
regex_ should be initialized to NULL.

Otherwise when onig_new failed we would get a non-NULL pointer and
onig_free would try to free it in destructor.
Ignore vim swap files.
Guard against NULL when searching.
Fix memory leak when searching regexp.
Do member data initialization in initializer list.
Actually use cache.

Previously the condition to use cache is never met.
Revert "Actually use cache."

This reverts commit 9b70069cc36ffb4a7e057749a7e8c7eeb5a435c5.
Merge branch 'master' into lint-and-bug

Conflicts:
	src/onig-reg-exp.cc
	src/onig-result.cc
	src/onig-scanner.cc
Merge pull request #6 from atom/lint-and-bug

Fix a memory corruption