Added a getHostname() method to the context.  This is helpful for supporting multi-tenant applications where each customer has their own hostname.
Minor formatting changes to support the project standards.

Per the pull request discussion, using three liners instead of single
liners.
Merge pull request #174 from mattjonesorg/develop

Added a getHostname() method to the context.