Delete primitives app as it contains nothing but a light definition. Add index files for models and primitives. Fixes #777.