Added start of Pegex factory for creating Pegex instances. Added failing tests for Ryan or me later.