Fix ssl leakes

FIxes some errant http:// calls in the template layer.

MJ-589

All tests pass, but qunit requires UI-Framework Pull #17