Added a check for size 0 to many list/set cases in typeswitches

Our set-up does not work well for empty lists/sets. In particular we
cannot easily create a coroutine that succeeds zero times (I think this
is design flaw that we should fix).

As a temporary fix I have added a test for length zero in all typeswitch
cases for list/lrel/set/rel EXCEPT the ones for visit that I did not
want to touch in this stage.
Merged
Merge branch 'master' of https://github.com/cwi-swat/rascal

Conflicts:
	src/org/rascalmpl/library/experiments/Compiler/Tests/AllCompilerTests.rsc