tweak some python's snippets

- in python2, class declaration should inherit other classes or object.
- rewrite a file idiom under the with statement
- fix with-snippets bound by open function
Add codeblock snippet to markdown.snip
Merge pull request #7 from pocke/for_markdown

Add codeblock snippet to markdown.snip
Merge pull request #6 from hachibeeDI/python_snip

tweak some python's snippets
Improve assert snippet
Add lambda snippet
Improve NeoBundleLazy snippet
Improve java snippets
Could you please add some directives.

Please add Location,LocationMatch,If,IfModule and Require Directive.
Merge pull request #10 from KaoruToda/patch-1

Could you please add some directives.
Improve ruby snippet
Add class snippet
Improve class snippet
Remove excessive whitespaces
Merge pull request #11 from jonthn/master

Remove excessive whitespaces
add some snippets are role and directive to reStructuredText
Merge pull request #12 from hachibeeDI/add-rst

add some snippets are role and directive to reStructuredText
Fix try_resources
tex.snip: remove \begin{appendix}
tex.snip: improve \begin{figure}