condition added, cuke and rspec added, bugtest fix, and handle validations and sad path of other cuke
Restful update
Merge pull request #18 from ucberkeley/features/RH/SW-condition

Condition done with test,bugtest bash fix, and handles validation/sad path of other cuke
working on weird rspec-autotest issue
autotest now working due to a workaround of weird bug; see http://github.com/armandofox/rspec-backtrace
Now passing initial specs for setting up timer value when a task starts
TasksController now adds task to waiting room as soon as task is
created, and has a special action for join_group that is triggered
after the welcome page.  The check for not being assigned to any chat
group now lives in this action, rather than in the generic #page action.

Task now exposes #where and #subcounter (delegated to sequence_state) so
more debugging info can be included in templates.

Waiting room now annotates both of its belongs-to relationships with
:dependent => :destroy, otherwise there is a referential integrity
problem if a condition or activity schema is destroyed while there are
still waiting rooms that reference it.

Waiting rooms now destroy themselves immediately after processing, still
inside the transaction.  Since process_all! may be called a lot of times
and we want only the first call to do any work, we destroy the waiting
room as soon as it's processed so that subsequent "redundant" calls to
process_all! will not even find already-processed waiting rooms.

Welcome page had wrong form action (using form_for instead of form_tag).

Specs for all the above are passing.
There were redundant routes for task creation.
Task error route needed to be boosted higher, otherwise /task/error would match
the rule for /task/:id first.
Routes for join_group and next_page were renamed to make the URLs more
explicit, for debugability/readability.
Modified default template definition in both seeds.rb and factories.rb
to include debugging information about where in the flow we are.
Seeds.rb also deletes all WaitingRooms to make sure there's no
referential integrity issues arising from deleting Conditions and
ActivitySchemas.
fixed README formatting
working on feature to test group formation
Some changes in routes.rb require root_path to now be static_path
Fixed syntax errors in form_for vs form_tag in template factory and
welcome.html.erb
Timer-basde feature sad path still broken
All green on group-formation happy and sad paths!
expire_timer logic moved into a helper function so it can be reused frmo
multiple step defs
Step defs for handling group formation now work by stubbing
WaitingRoom.process_all! (so now we require cucumber/rspec/doubles in
env.rb)
Factory for templates now uses span's to isolate each debugging element
(task id, group name, page counter)
add Makefile with TAGS target, and gitignore the TAGS file
added support for latest jasmine-rails
fixed syntax error in spec and moved it to coffeescript
Merge branch 'master' of https://github.com/ucberkeley/moocchat into chatroom
updated READMEs and make tasks to discuss JS testing
Merge branch 'master' of https://github.com/ucberkeley/moocchat into chatroom
chat