Added job and event classes and tests

These classes model jobs and events and the data associated with them.

/cc @jcredding