analytics: add more logging

Some accounts take a long time to refresh - add some logging to narrow
down the bottleneck.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
analytics: force a full refresh for account and tag events

Account name and report group are denormalized across all tables - we
need to update all objects upon receiving any of these events.

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
analytics: proposal on how to speed up bst and bii* refreshes

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
analytics: implement custom fields and tags for bundles

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
analytics: populate next_end_date correctly

Use the time between two transitions, not the phase length (except for the
last one).

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
analytics: code review changes

Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
Merge branch 'analytics-as-osgi-plugin-bugfixes'