Used codemirror pig-mode parser to make things more robust, and switch tests over to Qunit

This resolves Issue #10 

Using regex to parse the script is incredibly fragile. Now `Mortar.Parser` is using a headless instance of CodeMirror to parse the script. 

This is a quick fix for Issue #10, Ultimately though, we should switch to using CodeMirror completely for managing the data and the illustrate viewer. I've already opened an separate issue for that #12.