feat(src/determinater.coffee): simple type determination

- Determine types of files with unique byte sequences
- Fix issue with Promise class