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

Also added 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.