Report the prefix when logging the results of report_metrics task.
send(), don't flush()

Also, catch an IndexError in case the pipeline is empty.
Handle case where the pipeline is empty.
Added daily new users count.
Whitespace and formatting.
Import handlers from models.

- This guarantees that handlers are installed when models are imported.
- Fixed models import inside handlers to break circular reference.
Merged origin/master