Add OpArray class

This adds an OpArray class that replaces the previous opLines array. It is
part of the larger effort to make the compiler more PHP like. We will need
to store some more data during compilation (for CVs etc), which needs a
separate structure.