Converted scene format to JSON

This will allow the easy addition of arbitrary additional parameters
that can be accessed by script, which would be tricky with the more
rigid xml structure in use previously.
Cleaned up old xml scene loading code