Conditional membership check added to update methods in model
Undo previous feature changes
more changes to undo
Change quote type
Set discussion_last_viewed_at with 'before_validation' callback

Removed from update method
make clear activity happen for non group members
refactor methods
Ruby refactoring
failing spec
redirect_to previous page after sign_in
Fix failing specs.
Update Rails to 3.2.11
Switch various assets over to https.
Force ssl.
Update paperclip gem.
Merge branch '1.3'

* 1.3:
  Update paperclip gem.
  Force ssl.
  Switch various assets over to https.
  Update Rails to 3.2.11
  Fix failing specs.

Conflicts:
	spec/models/membership_spec.rb
	spec/models/motion_spec.rb
Merge pull request #441 from s01us/master

redirect_to previous page after sign_in
Merge branch 'master' into bug/clear-vote-history-v2

* master: (66 commits)
  Update paperclip gem.
  Force ssl.
  Switch various assets over to https.
  Update Rails to 3.2.11
  Fix failing specs.
  mark failing specs as pending
  Try to fix failing specs for travis.
  Fixed failing specs
  Make mail for new_comment and new_vote ascyncronous
  migration to new actimity format
  Started migration implementation
  Fix failing cucumber specs
  remove motion mailer spec as it is covered with cuc
  Dynamic bind for new comments
  motion close cuc feature update
  Pull request fixes
  Request markdown specs now need to revisit page
  motion.rb refactored
  remove redirect spec for add comment
  Change post to put on motion close
  ...

Conflicts:
	app/models/discussion.rb
Remove Discussion#closed_motion
Start adding test.