Allow configuration of a base directory for generated assets

This pull request makes it possible to configure a base directory into which assets are generated. If this configuration option is present, then assets from `document.psd` are generated into `your-specified-base-directory/document-assets/`.