Added indicator if apn was received while in background

Finally closes TIMOB-3528. Please pull in asap, as this is mandatory for working with push notifications.