jQuery plugin: fix indentation
Copyright comment change so it doesn't get included in minified files
JSLint, most warnings corrected
JSLint, resolve use of == and != operators

For things where it could be undefined or null but otherwise should be an object or array or non-empty string I have chosen to use the simple if(thing) to test the inherent truthyness of the value rather than to see exactly what it is.
JSLint, fix all warnings
findScopeForNode returns a scope or null, never undefined

scopes variable now contains the scope rather than the manager
Bug: from jslint, apparently mergeOptions does get undefined arguments in its list
Makefile and minified and gzipped output files