Fixing tar.Pack to have an optional properties parameter.

Adding in some JSDoc for the main methods, lifted directly from
documentation, and adding a TODO for the future if someone decides to type
the fstream library.
Merge pull request #3115 from jvilk/tar-fixes

[tar] Fixing Pack to have an optional properties parameter.