minor update to confirmation box in assignment/edit view
fix bug in add_signup_sheet
fix missing terminating </ul> tag bug
add default permission for due date
Changed layout of add-topic screen to make it more compact and
narrow textboxes into which integers are to be typed.
Fix advertisements.
Fix advertisements.

Signed-off-by: cathywupei <cathywupei@gmail.com>
Fix functionality of advertising for teammates.
This commit also includes the new assignment_controller written by
Hao Liu.  This seems to be redundant, because the previous commit
to master already contained the new assignment_controller.
Merge branch 'master' of https://github.com/expertiza/expertiza

Conflicts:
	app/models/assignment.rb
	app/views/sign_up_sheet/_available_slots.html.erb
	app/views/sign_up_sheet/_micropayment.html.erb
	app/views/sign_up_sheet/_num_of_choosers.html.erb
Remove code for checking resubmission and rereview permissions,
since these permissions have been removed from the system.
Merge branch 'master' of https://github.com/expertiza/expertiza

Conflicts:
	app/models/assignment.rb
	app/views/sign_up_sheet/_available_slots.html.erb
	app/views/sign_up_sheet/_micropayment.html.erb
	app/views/sign_up_sheet/_num_of_choosers.html.erb
Conflicts:
	app/models/assignment.rb
	app/views/sign_up_sheet/_available_slots.html.erb
Merge branch 'master' of github.com:expertiza/expertiza

Conflicts:
	app/models/assignment.rb
Merge branch 'master' of github.com:expertiza/expertiza

Conflicts:
	app/models/assignment.rb
Resolved conflict by including fixtures from both branches.
These two files are not successfully committed in last commit.
Merge branch 'master' of https://github.com/expertiza/expertiza
Fix the bug of team member upper limits. When a new member joins a team, expertiza will check if the number of team members has already reach the maximum. If so, this request will be rejected.
Fixed signup sheet view for students (signup_topics.html.erb)
to include the actions (which had been omitted in our
earlier refactoring).  Added a test so that there is
a column for partner ads on the signup sheet iff
there are any ads.
Changed advertise_for_partners_controller to use common code for new
and edit.  Created a new partial to assist in this.