Change big switch-case in apply() to separate applyVerb() methods
Change big switch-case in apply() to separate applyVerb() methods

I had a big switch-case statement in apply() that would do different
things depending on the verb.

It now tries to find a method of the Activity prototype based on a
camel-cased version of the verb. So like => applyLike(),
stop-following => applyStopFollowing().

If the verb is unrecognized, or if there's no method for the verb, it
continues silently.

strugee/pump.io,detrout/pump.io,Acidburn0zzz/pump.io,profOnno/pump.io,detrout/pump.io,landsurveyorsunited/pump.io,pump-io/pump.io,pump-io/pump.io,landsurveyorsunited/pump.io,Acidburn0zzz/pump.io,gabrielsr/pump.io,grdryn/pump.io,profOnno/pump.io,pump-io/pump.io,stephensekula/pump.io,OpenSocial/pump.io,stephensekula/pump.io,gabrielsr/pump.io,grdryn/pump.io,e14n/pump.io,OpenSocial/pump.io,e14n/pump.io,strugee/pump.io,stephensekula/pump.io,e14n/pump.io