Add simple collision detection for FourDirectional actor

Add lodash as a requirement. Javascript helpers ftw.
Resolve merge. Andrew added triggers, and ui updating.