embarassing git testing
Merge branch 'sprint7-profile' into sprint7-dan
Merge branch 'sprint7-profile' into sprint7-dan
Integrates acController and source changes to allow for profile querying
Commits AcController for sake of clean merge
Merge branch 'sprint7' into sprint7-dan

Conflicts:
	api/controllers/CommentController.js
Tests autocomplete methods for participants
Show projects in profile

This is a first checking of showing all the projects that you
own in your profile page.  It is designed as an 'activity app'
so it will be reused to show your tasks.

There's a few things I want to do, like configurable columns
passed as parameters to the activity view (for example, tasks
may want to show a deadline).

Also an open question how to format the dates.
Merge branch 'sprint8' into sprint7-dan
Add iCal download to profiles

If you're the owner, give you a button to download your iCal
calendar.  Fix up the calendar code so that the calendars
have a filename when downloaded.
Get requirejs to work in production.

This was a pretty hairy ugly undertaking.  Our requirejs
app was really not set up for use in dual-mode development
and production.  I've hacked the app to look more like a
well-defined require module.

I've then modified layout.ejs to check what environment
sails is running in (development or production)
and render to the page the correct <script> html.

When you lift sails, it does NOT generate the production
javascript... instead you need to do:

	grunt requirejs
	sails lift --prod

This will run the server in production mode with a single
javascript file (other than jquery).

There's still more work to be done here -- like figuring
out how to include jQuery in the configuration rather than
hacking it in as a <script> tag, but this seems to run
well locally.  The other thing would be to compile
the production js on sails lift (And also inspect what
sails is really doing during production to minimize
cpu and memory resources hogged by grunt)

Still need to test it on the remote demo server.
Remove debugging commented out script tag
alters the project view for select2 participants
adds some un-persisted view code for participant select2
adds toggle functionality for participants
Fixed up some display logic for Participants and began process of persisting changes
back end components for participants
Merge pull request #28 from Innovation-Toolkit/sprint8-feature-grunt

Merge grunt changes to use a single file in production
Fix up event view

- Show time in human readable format
- Link to the correct ical
- Fix broken html
Make the default state for tasks public

Tasks weren't displaying in the UI (correctly) because their
state was draft.  Since there's no UI yet to change the state
of a task, make the default state public and let the project
security settings control which tasks are viewable.
Experiment with moving tasks/events

Put tasks/events in the main column, and attachments on
the right.  This layout is not great, but better than
things in the sidebar.

I have an idea for how to make this MUCH much better
but not enough time to implement it before today's
demo.  So checking this in since it is an improvement to
the way it was.