Fix double/single quotes in appframework.js
Separate uglification into different targets

This makes it simpler to fix lint errors on one or two files
at a time, rather than trying to cope with lots at once.