Added support for hidden apps (bug 1019249, 1019251)

I'm considering removing this and wait for API v2.