use $.ajax() calls so that CORS requests can be configured to send
cookies.
http://stackoverflow.com/questions/2870371/why-is-jquerys-ajax-method-not-sending-my-session-cookie
Merge branch 'master' of https://code.nceas.ucsb.edu/git/nceas-staff/datadepot.git