Added permissions model/schema
Users model has a permissions property which is a list of Permission model objects
Added permissions virtual property to Event model. Renamed can to canDo in Permissions model
Initial permissions checker commit
Added intelliJ files to .gitignore.
updated server.js to log currently used db. updated developement config to check for MONGOLAB_URL env var (defaults to local mongo if not present)
Merge branch 'dev' into layout