A large load of semantic refinements arising from further unit test definitions and implementation of bucket slicing and windowing, with lastValue or intermediateValue outputs.
Especially made changes to initialisation semantics
Merge remote-tracking branch 'origin/master'

Conflicts:
	test/programs/TestMultiTerms.scala