Added code to list globals exposed by the server

Also fixed a bug where I passed the wrong wl_interface to the proxy
constructors.

Also removed a bit of unused code.

Made firsttest actually do something.