Added *~ and *.pyc to .gitignore.
Updated tests for latest pandoc-types changes.