Rearrange imports in home.py so they apply to new discussed format (separate "from ..." and "import ..." blocks). Add Delete Document functionality.
Patch by: Pawel Solyga
Review by: to-be-reviewed
// Display a logging console on top of this page.(new AH.LoggingConsole()).initConsole();</script>