sbt build: relocate more stuff to build.sbt

didn't realize before that this seq() trick existed
remove unused code in sbt build

how'd this happen? an oops when merging, I guess
fix up autogen stuff in sbt build

the caching stuff wasn't set up right. so if I changed one of the
.flex files, JFlex didn't run automatically. now it does.
remove special "magic open" support from lexer and language

instead, handle the ___ syntax specially in app.CommandLine, in
GUI-only code

it was a bad choice to have ever made this part of the language in the
first place, and a really, really terrible choice to have made it part
of our lexical syntax (!!!!).  a pox on my past self.
reformat JFlex input files

a last vestige of our old, Tufts-era Java formatting style
remove stray blank lines
remove GUI-specific primitives from NetLogo language

__set-error-locale, __english, __spanish: gone entirely
__reload, __change-language: special cased in app.CommandLine

doing the CommandLine thing instead avoids cluttering up non-GUI code
with GUI-specific stuff.  the new way is kludgy as well, but at least
it's all in one place.

also, AppEvent is now split up into separate, single-purpose events
(well, the new LoggingEvent is still multi-purpose, but oh well)
oops, submodule mistake
rename some stuff in the compiler
rename compiler.ConstantParser -> compiler.LiteralParser

this seems more in line to me with common terminology in
other compilers and languages
rename constant -> literal in more places
oops, fix failing test
oops, fix a few failing tests
Merge commit 'e0a5adfefa2d3d5f95d04709930947f36efab67f' into scala-2.10
Merge remote-tracking branch 'origin/master' into scala-2.10

Conflicts:
	headless/project/TokenLexer.flex
	headless/src/test/org/nlogo/compiler/ConstantParserTests.scala
	headless/src/test/org/nlogo/lex/TokenizerTests.scala