Minor tidying
Factored out more stuff from the AJAX functions. Still bit of a mess.
Update dependencies to latest versions of libs and tidy up project.clj
Minor tidying up in web stuff