fixups pointed out by jshint, updates to the include system (including proper implementation of the IncludeRelative flag), convert a couple more tests and some general miscellanae