options: Added option to run pre-transformations on the ast

This can be done before any mode (interpret, print etc). Currently only
profiling is supported (in Driver.hs), but any transformation can be
added