Jasmine tests for verification / payment; small bugfixes

* Add Jasmine tests for a good chunk of the payment/verification JavaScript.
* Found and fixed a bug: the payment button should be enabled if there are no suggested prices (and no radio buttons).
* Some general cleanup / refactoring.

Reviewers: @rlucioni @AlasdairSwan 
Can we do this with Sass instead of inline styles?