Documentation building and cross-platform support

These are primarily minor changes.

1. There's now a top-level `docs/` folder which includes a preliminary sphinxdoc configuration.
2. Fixed a few cross-platform support issues in pyjams, mainly dealing with directory and file extension separators.