Add Trace-based output and fix counting

Added an output method for trace to use with commandline as well
as removing dependencies of output in other the modules. Fixed the
way tests and assertions were being counted
Add simple equality for Flash arrays

assertEqual now tests the equality of two arrays based upon their
contents. Swapped the ordering of arguments to assertEqual; just
a personal preference