Issue #6: required file in scripts

A solution to the issue #6, the test will only search for required file starting by './' or '/' and match with file specified in component.json among script, json, and file.
another recommendation to avoid this crazy indenting, use keywords like `return` and `continue`

```
if( arrMatches === null){
   continue;
}
```