Add support for bundling an entire folder, plus integration tests