initial analytics implementation
add base cli trigger. tests and fixes coming next
api tests and some cleanup
more test support
fix key dupe in template tracking
quote npm version for travis
fix a small promise bug
Merge pull request #533 from jenius/v3#analytics

[WIP] Add Analytics