chore(context): Pull `elgg_*_context` functions' logic into a service
Merge pull request #7101 from ewinslow/context-service

chore(context): Expose `elgg_*_context` functions as a service