Simplify UserAction query in restore

There's only ever 1 installed version of an app for a user
Update license in backup.js to match the rest of sandstorm