fix misidentification of scope in function declarations

because code like below does not create a global "a" or "b" variables:

do
	local a = {}
	function a.b()
		-- ...
	end
end

will need to update testcases too.
update functions testcases broken by previous commit
get rid of isLocal variable

its only use has been eliminated, there's no reason to keep it.
fix more scoping bugs

minimal testcases:

local a = {}
function a:b()
	return self -- false global
end

repeat
	local b = true
until b -- false global; this loop executes only once

local a = function (b) end
print(b) -- undetected global

for a in pairs { } do end
print(a) -- undetected global
add testcases for recently fixed misscoping bug

see commit 877438d7a067e19af1ff3877469f38f2ca90628d
bump coverage for parsing withing scope tracking
fix version-bump make task not updating component.json
update dev dependencies
add testem launcher for d8 and nashorn
Version 0.1.6
add parser callbacks: onCreateNode, onCreateScope, onDestroyScope

- initial work for #22
- rename exitScope to destroyScope to better complement the naming of
  createScope
add luaparse to `exports` object even if loaded by an amd loader.

haven't tested but guessing this should allow the library to be wrapped
in another define module like Ace does.

https://github.com/ajaxorg/ace/blob/7fc47d77a35f3c54310bab5269e960e0e320c32f/tool/update_deps.js#L28:L29
fix nashorn test task
remove pointless .isLabel field

validating labels at this point makes no sense; it's only after
parsing is complete that any meaningful analysis is possible.
for example, the first goto will have .isLabel set, and the other
not, even though both are valid:

::foo::
do
	goto foo
end

do
	goto bar
end
::bar::

also, update testcase.
add ast member to options object

very handy when you only want to hook some parsing events on
the fly while leaving the AST untouched.
use console.warn instead of console.log

node.js's console.log() shim outputs to stdout, which means that
notices end up mixed with source code when doing make scaffold-tests
console.warn outputs to stderr, avoiding the issue.