add some @throws annotations for the Java crowd (fixes #264)
make HeadlessWorkspace.clearLastLogoException() actually work

fixes #271
Merge remote-tracking branch 'origin/5.0.x'

Conflicts:
	headless/src/main/org/nlogo/headless/HeadlessWorkspace.scala
fix recent regressions in error handling

owing to making LogoException unchecked