Use rails env for default pretty print blockly.
Use fetch with default, fix interpolation, fix file ending for mime type.
Merge pull request #224 from tobyk100/master

Use rails env for default pretty print blockly.