[tar] Fixing 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.