Profiler update

Updated the profiler to use cProfile for 
compatibility on staging. If the request takes
over 0.25 seconds the profile stats are sent to 
Sentry.
Improve the message sent to Sentry.
Filter by Groups only.

Added a filter to the API similar to the events=*
which is groups=*. This returns all resources
that are not events.