Fix compile errors in the Environment.monotonicTime Windows backend.

It is tested and works. Also tested a rollover with App Verifier.
The delay given to that test in App Verifier is subtracted from the
current value of timeGetTime(), which is unintuitive.
Add a function to set a section of an array to a value.

Also, change arrayCopy()'s template parameters to be more flexible.
And change an int to a word.
Add a benchmark method that measures code for a specified time.
Add a splice() method to Queue and tests. And set unused items to .init.

Also, add an opIndex() and fix an access violation in ensureCapacity().