Rename InstantShareAppImpl to match prevailing style
Simplify InstantShare payload definition
Code extended if/then/else to switch
Switch InstantShare test to use Sinon infrastructure as per review comment