Fixes production build through templating refactoring
This reverts some of the changes made in ff7fd460 because we can't inject js chunk names in a static template file. It lets Webpack handle this (like before) but uses Phoenix Views instead of dirty stuff inside PageController.
An other possibility would have been to use Phoenix.digest but it seems to fail with webpack dynamic module loading.
Also there's a fix with some upload picture fixes.