Make Redirect work proper with symfony-angularjs

Made the RedirectListener return JSON, which is parsed by Angular and then transitioned
to the other ui-state. Right now, it assumes that all form submits are JSON returned
values and that there are states with those names. TODO: Handle all the invalid cases