Use generic Application alias in all examples.
Fixed compilation without MAGNUM_BUILD_DEPRECATED.
Adapted to Magnum changes.
triangle: adapted to Magnum changes, updated the documentation.
primitives: adapted to Magnum changes, clarified and updated the docs.
textured-triangle: adapted to Magnum changes, fixed, reverted to TGA.

What the hell. The example did not get built at all for quite some time
because of typo in CMakeLists. The example was documenting TGA format,
the error messages told about PNG and the image was actually in JPEG.

Cleaned up and updated the documentation, reverted back to TGA format,
so it is possible to compile and run this example with core Magnum
repository (no external plugins needed).

This reverts commit 70d39cd9b537becb2653c57f085555ad85de8061.
CMakeLists cleanup and unification.

Mainly including generic MAGNUM_APPLICATION_INCLUDE_DIRS and linking to
generic MAGNUM_APPLICATION_LIBRARIES everywhere.
Adapted to Magnum changes (ahem).

Leaving viewportEvent() in these, as these are more likely to get
resized (and we don't have to explain why that is there, hopefully).
viewer: fix documentation.
primitives: properly set mesh primitive.
Adapted to Magnum changes.