context support for pageview api

Added context support to pageview api. 
pageview api now takes a second param options.
Check for Provides's enabled status is done before executing the pageview api for the provider.