Fix redirect and formatting

Conflicts:
	app/controllers/comments_controller.rb
	spec/controllers/comments_controller_spec.rb
Added factories
Merge branch 'master' into http-redirects
Redirect handling for xhr / normal post

Fix for #244
Merge pull request #287 from ophrescue/http-redirects

Http redirects