Throwing exception when invalid hit type is invoked, unit testing it
Updating send hit method to include validation for minimum payload
parameters, unit tests included
Updating flow in Analytics class __call so that the most common magic
method is checked first