serialize embed data as JSON.
don't need this method anymore.
simplify new thread spec.
use validResponse to simplify response in jasmine spec.
add submit url step of link creation from thread view.
make sure to redirect to homepage for a post request with no session cookie set.