convert $.getJSON calls to use $.ajax and provide error handlers

$.getJSON doesn't support providing an error handler

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
use an object instead of an array to hold term codes

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
change wording of cross-list checkbox text

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
move course request form javascript into external file

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
move click handlers into ready fn

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
add a jquery plugin for spin.js

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
rename opts -> spinnerOpts

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
use spin plugin

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
remove un-used variables to make jshint less angry

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
remove inline onchange handlers

inline handlers are evil

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
add click handlers for checkboxes

replaces inline handlers

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
fix selectors

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>
whitespace fixes

Signed-off-by: Graham Ballantyne <grahamb@sfu.ca>