packer: add mock implementations and more template tests
common/command: more tests for filtering builds
common/command: error if only/except points to bad build