Updated eventid to require network and code.

Added test for IllegalArgumentException to be thrown when network or code are null.
Updated JsonEvent to return null if new EventId throws IllegalArgumentException.