Feature analytics

Rebased #811, #808, #802.

The problems that blocked the merge at first are explained at: https://github.com/DroidPlanner/droidplanner/pull/810#issuecomment-46478802