Consistent lib/api naming convention
var naming convention for api
Remove extraneous require.undef call
Refactor so test util does not create closures
each hooks in describe block
Refactor analytics API so track method is exposed and other methods are fully private