Allow static asset serving from env variable (enhanced!)

![ENHANCE](http://img.pandawhale.com/post-25572-spy-kids-enhance-gif-imgur-zVDI.gif)

Improved upon #17347 to address some comments, added deprecation for the old name, etc
You are totally right, thanks for catching the mistake!