Add support for archiveArtifacts / allowEmpty

In adding this, also offers a closure form for specifying archiveArtifacts options
Merge pull request #131 from tagged/archive-artifacts-context

Add support for archiveArtifacts / allowEmpty