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 word of advice is to play around with the structure here a bit, you could be able to clean these for loops quite a bit if you did.

i.e. have functions for each of the loop tests, use return to break out of loop and function
```
function checkInScripts(x,y,z) {
	for (var scriptI = 0; scriptI < fileList.scripts.length ; scriptI += 1) {
		if ((fileList.scripts[scriptI] === requiredFile) || (fileList.scripts[scriptI] === requiredFile+".js")) {
			return true;
		}
	}
	return false;
}

if (!checkInScripts(X,Y,Z) && !checkInJson(X,Y,Z) && !checkInJson(X,Y,Z) && !checkInBinary(X,Y,Z)) {
   // raise an error
}
```

this is just an example, but as you can see it would clean up logic quite a bit