Several fixes to RegistrationType handling in Two-Phase Student Reg

1. Use reg_type.__unicode__() rather than reg_type.displayName
directly (in case .displayName is not set, we should default to .name,
which .__unicode__() already does).

2. Use RegistrationType.get_or_create in /rank_classes view, so that
the page doesn't crash if one of the expected RegistrationTypes
doesn't exist yet.

3. Don't use get_or_create in /save_priorities view. Previously this
was a minor security hole that allowed students to e.g. register for a
class with a RegistrationType of Priority/{arbitrary injected string}
by submitting tampered post data.

4. Fix a jQuery selector so that the page doesn't try to submit empty
registrations with Priority/undefined.
Fixes QSD saving rendered versions of HTML special characters

Previously, the direct QSD editing textarea used the non-escaped
version of the content to put as the starting point for the textarea,
which resulted in special characters being saved as their rendered
form on the second save of a QSD page. This change makes those
contents escaped. The static edit page was already doing this
properly.

See #974 for more details.
Fixes From and To addresses in grade change request email
Add regression test for grade change e-mail addresses
Merge pull request #1104 from learning-unlimited/backport-fix-grade-change-email

Stable release backport: fix grade change email
Merge commit '63ee2900ef31a2bd17d3b87773106b6daa057ab0' into stable-feb14
Merge commit 'e2defb2' into stable-feb14
Merge pull request #1115 from learning-unlimited/stable-feb14-backports

Stable feb14 backports
Allows for $0 options in extracosts.

Makes the Student Extra Costs module work with line item types that have
$0 options.

Adds a extra_costs_done Record to keep track of when a student has
completed the module.

Also adds a reset button for each group of radio buttons on the form.

Resolves Github Issue #1118.
(cherry picked from commit b231260f73e42d6dccac98b03980e5c715b0db23)
Merge pull request #1134 from learning-unlimited/extra-costs-fix-on-stable-feb14

Allows for $0 options in extracosts.
Fixes bug in accounting controller

Transfer.transaction_id is allowed to be blank, but not null. Changes
the default value for transaction_id in submit_payment() from None to
''.

Resolves Github Issue #1100.
Merge pull request #1139 from learning-unlimited/accounting-fix

Backport: Fixes bug in accounting controller
Add deadline to allow students to cancel registration(cherry picked from commit 93d95d279dd5913b8bce66576c232c46259f93d1)
Merge pull request #1162 from learning-unlimited/backport-add-cancel-reg-deadline

Stable14 Backport - Add deadline to allow students to cancel registration
Fixes issue #1056

Moves the code that fixes the "timeblock" field name to before the
field names are used so that it actually works.
Fixes section list admin binder printable to include home phone
Merge pull request #1181 from learning-unlimited/fix-xss-vuln

Fixes XSS vulnerability in rapid approval system
Merge pull request #1192 from learning-unlimited/stable-feb14-backports

Stable feb14 backports
Chicago production site customizations