[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1886: Added import preview for Report and Chart. Simplified preview templates by using macros.