move pubsub/rpc services to app module
no longer need to pass ss to ng as app.value
must keep ss global for reconnect, minor code reorg
update sandbox code