Modifies dependency loading

Changes dependency loading so that top-level variables defined in
dependency scripts are in scope in rule definitions.
Avoids traversing frames from different origins

Attempting to access the document of a frame loaded from an different
origin than the page was loaded from results in an exception.
Rewrites fiveui.color.colorCheck to eliminate use of `eval`

Also includes some other changes to pass jshint checks.