oskite/webterm: refactor shared and resume into one case
oskite/webterm: refactor shared and resume into one case

They are identical expect the passed params.

jack89129/koding,kwagdy/koding-1,szkl/koding,cihangir/koding,jack89129/koding,rjeczalik/koding,alex-ionochkin/koding,jack89129/koding,cihangir/koding,alex-ionochkin/koding,andrewjcasal/koding,andrewjcasal/koding,usirin/koding,koding/koding,koding/koding,sinan/koding,koding/koding,sinan/koding,gokmen/koding,andrewjcasal/koding,gokmen/koding,sinan/koding,gokmen/koding,drewsetski/koding,mertaytore/koding,sinan/koding,gokmen/koding,andrewjcasal/koding,drewsetski/koding,szkl/koding,koding/koding,acbodine/koding,alex-ionochkin/koding,mertaytore/koding,mertaytore/koding,alex-ionochkin/koding,szkl/koding,kwagdy/koding-1,koding/koding,gokmen/koding,drewsetski/koding,cihangir/koding,rjeczalik/koding,rjeczalik/koding,mertaytore/koding,acbodine/koding,mertaytore/koding,alex-ionochkin/koding,sinan/koding,acbodine/koding,szkl/koding,acbodine/koding,kwagdy/koding-1,andrewjcasal/koding,rjeczalik/koding,drewsetski/koding,usirin/koding,mertaytore/koding,andrewjcasal/koding,acbodine/koding,rjeczalik/koding,alex-ionochkin/koding,jack89129/koding,acbodine/koding,koding/koding,cihangir/koding,acbodine/koding,cihangir/koding,drewsetski/koding,gokmen/koding,koding/koding,szkl/koding,jack89129/koding,kwagdy/koding-1,jack89129/koding,kwagdy/koding-1,sinan/koding,kwagdy/koding-1,usirin/koding,andrewjcasal/koding,gokmen/koding,cihangir/koding,jack89129/koding,drewsetski/koding,gokmen/koding,sinan/koding,szkl/koding,mertaytore/koding,drewsetski/koding,rjeczalik/koding,koding/koding,cihangir/koding,szkl/koding,sinan/koding,mertaytore/koding,alex-ionochkin/koding,usirin/koding,kwagdy/koding-1,rjeczalik/koding,kwagdy/koding-1,usirin/koding,andrewjcasal/koding,rjeczalik/koding,drewsetski/koding,szkl/koding,alex-ionochkin/koding,jack89129/koding,usirin/koding,usirin/koding,cihangir/koding,usirin/koding,acbodine/koding