update models library for File Output Example - fix #341
update models library
update models library
update models library to fix #349
update models library - fix #350
explicitely use UTF-8 codec when reading model index - fix #353
document `wait` a little better
add Tortoise link to FAQ
add FAQ entry about list construction
Slightly rewording 'clear-all' documentation (fixes #360)
Resolving doc fix in same way as in 5.1 docs

See commit fcadaa033 and issue #360
update models library
get rid of prim.file package

I'm not really sure anymore what I was thinking when I created the
package.  probably I thought I was getting it ready for
extension-ization, but really, for that I think it's enough to have
the primitives collected together in a single source file
add copyright notice
remove unused code
Merge remote-tracking branch 'origin/5.0.x'

Conflicts:
	headless/src/main/org/nlogo/prim/etc/_notequal1.java
 comment out intermittently failing HubNet tests

 see #207
avoid using closures in rejiggered methods (fixes #365)

fixes regression dating to bbafc96

I should have seen this coming. the bad commit uses for comprehensions
on Option in rejiggered methods. with `-Yclosure-elim` it's
fine. without closure elimination, the body of the for ends up in an
inner class, which naturally confused the generator
silly me. missing piece of last commit
disable -optimize, at least for now

it slows down compiles (2:45 vs. 2:10), tends to be buggy (SI-7524,
SI-7529, others), and I never did any benchmarking to see if actually
speeds up running models.

this could certainly be revisited in the future, but for now, this
is how I'm leaning.