Create new event REST endpoint in events.js, add dependency on Q