Fixed and cleaned up ajax/jquery - Part1

Fixed and cleaned up ajax/jquery for sign up, login, and create survey pages. Instead of redirecting, now the pages are fuly ajaxified to empty, append, and show views. Not complete yet, in progress.