Configurable Loop Points A La RPG Maker XP/VXA

- Read sound tags for LOOPSTART and LOOPLENGTH/LOOPEND and set loop points.
- Use samples instead of milliseconds as sound time unit.
- Use 0 to signify omitting loop end instead of -1 (wrong for unsigned ints).