Add doc comments and copyright statements

- Add better documentation comments for Message and TwigExtension.
- Make sure all files contain a copyright statement declaring the
  Wikimedia Foundation a copyright holder.
Merge pull request #1 from bd808/master

Add doc comments and copyright statements