[RFC] Fix cimport alt

Despite wrestling a lot with moonscript, I think I got it done. It might not be very clean at times (especially the formatter is really crude), but that can be improved later by someone with more LPeg chops.