Migrates comments to transform module, fixes string bug

This patch migrates the functionality of comment conversion, adds more
tests to transform (keeping integration style tests in compile.spec).
This now will account for comments inside of string and will disregard
them, returning the match back to the replace function with no changes.