Added renderwave and streamwave examples/tests

Fixed incorrect scaling of A2_I24 samples when writing to waves.

Updated a2jingle.a2s to semicolon statement delimiters.

Added playtestwave.a2s, used by renderwave and streamwave.

rtsubtest renamed as rtsubstate.

This completes the first stage of #8.