Update strrtok to act more like strtok, with test code updated to use strtok for comparison.

Issues will surely arise from platform discrepancies...
Merge branch 'master' into implement-vectors

Conflicts:
	includes/twinshadow/macro.h
ts_strrtok: Change the macro to function as a loop-construct
array and vector: add tests, fix code, fix tests
cleanup of includes and test-building