Updated constructor contract. Added emit() method.

The constructor will now throw an error if eventName is specified but emitter is
not.
Updated to quantify@0.6.0.