fix gulp typings and tests

- add test as compile2 pattern and fix typings
- fix test
  - .dest() is not Stream's method
- add IGulpPlugin which is a common "gulp plugin" typing and fix tests