Standardize error messages.

Use 400 errors (instead of 500) and standardize on the message.
WIP: Initial Event commit

Create an Event model and EventController that will
eventually serve to provide events for projects.

This is a work in progress and is incomplete, but in
a state that doesn't break the build.
Tests have init function and utils

Init function takes care of cleaning the database out between
tests, and setting up the requests object.
WIP: Framework for event tests

The framework for doing tests on events, but no tests are
implemented yet.  Uses the new init() functionality of utils.
Ignore *.bak files

These are created during testing to backup local
settings files.  They should not be git tracked.
Update with uuid, icalendar
Fill out implementation of events

Automatically generate UUIDv4

Generate iCalendar text/calendar for projects
Project policy check security settings

Implement a helper function in projectUtils that any
controller/service can use to verify that a project
is allowed to be viewed.  Useful as middleware for
protecting events and tasks.
Add tests for events

Events tests creating events, and whether you have
access to view them.  Includes a few helper classes
for bootstrapping tests.
Add tests for iCal export; fix iCal date bug

Tests now check that the iCalendar output is valid.

There was bug in how events were being created; use
javascript Date objects instead.

Implement a new middleware policy 'eventUuid' that
injects a uuid field on create, thereby allowing
us to use blueprints instead of a custom create
function.