Add python test snippets for assertIsNone and assertIsNotNone
Merge pull request #404 from okcompute/master

python: Add snippets for assertIsNone and assertIsNotNone
Make trigger for "else" inline with recommendations.

Also make it require word boundary so does not expand within a word.
.gitignore pyc files.