split core package from api package

and make some initial moves: Syntax, TypeNames, AgentKind.
more to come.
push WorldDimensions down to core package
push Token, TokenType, et al down to core package

and now lex depends only on core not api!
update extension builds for recent changes
Merge pull request #577 from NetLogo/api-package-split

split core package off from api package