use app_type instead of app_types
Don't whitelist "src" when truncating nav loops (bug 920048)

gdit @cvan