Support for informational APIs

These commits add support and documentation for application details and statistics.

Additionally, changed example code format to follow Python style guide, and fixed incorrect example code.