Allow App::down() callback to be configurable based on app requirement. Fixes #1701.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #1717 from crynobone/feature/down-callback

Allow App::down() callback to be configurable based on app requirement. Fixes #1701.