Renaming, organising things for phenoplayer

these changes should enable phenoplayer to work
I matched the new JSON naming system in generator and player.
typos
moar typos
bughunting

Sorting out the bugs in the system.
Player is now live at player.php
quick error checking

getjson.js was trying to split at the ~ which doesnt exist for all
demos.
did a check for it.
Dummy Thumbs, bugfixes

The name for things MUST NOT CONTAIN SPACES
re: http://www.w3.org/TR/html401/types.html#type-name
I know it sounds silly but there is no other way because I use the
variables in the experiment JSON to form valid html.
If you want spaces in the names of the things, use underscore, Ill
write up some changes for that now.
replace spaces

see previous commit.
also the previous commit was regarding timestream and expt names.
More bugfixing

~ checking
Forgot extra comparator

won’t work without proper conditionals.
fixd typos

experiment time stream arrays need to have the same names as the actual
timestream. otherwise generateTSConfig.php will not find it.

I also widened some of the other updates to the main code.
Hackery to get the right path
more hackery
removing trailing slashes
hacking
Cleanup