Merge branch 'master' of github.com:enspiral/loomio

* 'master' of github.com:enspiral/loomio:
  Fix failing specs.
  Change and hide the cookie token.
  fix button alignment in modals
  remove redundant spec
  updated env
  remove redundant method calls
  remove redundant method
  fix failing spec
  if/end replaced with return
  refactoring in motion.rb
  Refactor Group#add_member! method.
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
Merge branch 'master' of github.com:enspiral/loomio

* 'master' of github.com:enspiral/loomio:
Merge branch 'master' of github.com:enspiral/loomio

* 'master' of github.com:enspiral/loomio: (61 commits)
  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
  tidy up specs
  remove migration
  pull request changes
  ajaxify comment button with UJS
  achive comment failing
  ...
adjust css to position character-counter
toggle added for additional text
new line added
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.
Improve guard & spork settings.
Merge branch 'master' into bug/clear-vote-history-v2

* master:
  Improve guard & spork settings.
  redirect_to previous page after sign_in