Adds disable-analytics option to all commands

Fixes #1835

+ add test for addon command
+ adds test for build command
+ adds test to the rest of commands
+ adds tests for watcher
+ makes sure that analytics.track() is not called if --disable-analytics=true
+ abstracts analytics tracking in models/task.js and adds tests