Analyze Scripts not in a Gem

Currently we only analyze scripts that are part of gems. This PR adds code to the scanner that puts all loose scripts in their own source unit.
Same thing for Python also?