Cleaned up some duplicate files, added authentication for the main SOMI app.
Merge branch 'master' into org-man

Conflicts:
	app.js
	debug/debug.log
Merge branch 'master' into org-man
Merge branch 'master' into org-man
passport serialisation issue hack until we get our top-level stuff hooked up to a db

switch the order in app.js so mods get registered first before somi. suddenly the real
serialization methods are called first and we don't get spurious serialization from the top
level. i don't know what any of this means.
add root url to management mod
cleaned up lots of duplicates
added org management page
Merge branch 'eventify' into org-man

Conflicts:
	mods/apps/edvr/index.js
	mods/apps/index.js
	mods/management/index.js
Made things work. Merge fixes and stuff... And some org management groundwork... :)
small changes to cookieJar passing
Added directories for missions and other imos work.
preliminary work on event system and also permissions scheme for somi users
need the authentication/user stuff to work on permissions
Merge branch 'master' into eventify
removing index.html from management mod
imos extraction and database upload
work on db before ripping it out... :(
minor stuff
Work on db, permissions, everything, committing now pending migration to sequelize
style stuff