Add findall() method apply a list of regular expressions to a
string.

* Add findall() method to facilitate testing of regular
  expressions.
* Modify emit_r and search_deps_r to use findall().
Improve 'save' regular expression for detecting outputs.
Add basic unit and end-to-end tests and info.