Added support for hidden apps (bug 1019249, 1019251)

Good point. This has been through so many revisions I lost track of these changes here. I believe we're calling them "published", "unlisted", and "private". Unlisted is the new one, private just changed names from 'waiting' to 'private'. I'll review these and make them consistent.