SSL redirect template & implementation in stackstrap.master

This also has some minor improvements and updates made to the main nginx macros