Optionally allow flags to be passed to pendingActivity/pendingService

Allows consuming code to set options such as
PendingIntent.FLAG_UPDATE_CURRENT
Merge pull request #61 from sgrif/sg-flags-to-pending-intent

Optionally allow flags to be passed to pendingActivity/pendingService