add easier support for key codes in JS by adding text property and auto-detecting isShifted
implement a basic exampple of ride along with a particle
make sure to flush edit queue on script shutdown
Merge branch 'master' of https://github.com/worklist/hifi into more_scripting_work

Conflicts:
	libraries/particles/src/Particle.cpp
	libraries/particles/src/ParticlesScriptingInterface.cpp
make tryLock actually return a bool
fix typo
fix isKnownID
use tryLock in some cases where we don't want to block and pass already locked to the findParticleByID() in scripting interface
Merge pull request #1817 from ZappoMan/more_scripting_work

More scripting work
Merge branch 'master' of ssh://github.com/highfidelity/hifi into cleanup