Expose path_prefix as data on app instance

This data member can be helpful to other modules in the package if they
want to determine how URLs are structured within the API.
Trim prefix path from statistics

When reporting on statistics, we can examine the app path prefix during
the default statistics hook and trim it off if we know what it is and if
the path begins with the path prefix.