Campaign preview functionality

embedded campaign preview functionality
Merge branch 'abdullah_0.8' into umair
import

import
Merge branch 'awakeel_1.6' into umair
search fixed for template and contacts